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

Function wfSchemeName

src/gui/SpectrumWidget.cpp:740–750  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

738}
739
740const char* wfSchemeName(WfColorScheme scheme)
741{
742 switch (scheme) {
743 case WfColorScheme::Grayscale: return "Grayscale";
744 case WfColorScheme::BlueGreen: return "Blue-Green";
745 case WfColorScheme::Fire: return "Fire";
746 case WfColorScheme::Plasma: return "Plasma";
747 case WfColorScheme::Purple: return "Purple";
748 default: return "Default";
749 }
750}
751
752// Interpolate a normalized value t (0–1) through the given gradient stops.
753static QRgb interpolateGradient(float t, const WfGradientStop* stops, int n)

Callers 1

buildDisplayPanelMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected