MCPcopy Create free account
hub / github.com/aethersdr/AetherSDR / kRingBg

Function kRingBg

src/gui/ClientCompKnob.cpp:40–40  ·  view source on GitHub ↗

Knob components read from the dedicated color.knob.* namespace (carved out of color.background.1 / color.accent.dim / color.text.primary). Each helper takes the owning widget so the widget-aware overload walks the container chain — that's how per-applet container overrides (e.g. applet/comp's amber knob foreground) actually reach the rendered output. Label + value text below the knob stay on col

Source from the content-addressed store, hash-verified

38// text below the knob stay on color.text.* — those are text, not
39// knob componentry.
40inline QColor kRingBg(const QWidget* w) { return AetherSDR::ThemeManager::instance().color(w, "color.knob.background"); }
41inline QColor kRingArc(const QWidget* w) { return AetherSDR::ThemeManager::instance().color(w, "color.knob.foreground"); }
42inline QColor kPointer(const QWidget* w) { return AetherSDR::ThemeManager::instance().color(w, "color.knob.handle"); }
43inline QColor kLabelColor(const QWidget* w) { return AetherSDR::ThemeManager::instance().color(w, "color.text.secondary"); }

Callers 1

paintEventMethod · 0.85

Calls 1

colorMethod · 0.45

Tested by

no test coverage detected