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

Function sliceColor

src/gui/SpectrumWidget.cpp:4563–4566  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4561// ─── Slice color table (shared via SliceColors.h) ────────────────────────────
4562
4563static QColor sliceColor(int sliceId, bool active) {
4564 if (active) return SliceColorManager::instance().activeColor(sliceId);
4565 return SliceColorManager::instance().dimColor(sliceId);
4566}
4567
4568// Variant that respects the SliceLetterDisplay mode (#2606): when set to
4569// RadioIndexed, the colour follows the radio-provided per-client letter

Callers

nothing calls this directly

Calls 2

activeColorMethod · 0.80
dimColorMethod · 0.80

Tested by

no test coverage detected