MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / loadDefaults

Method loadDefaults

App/ColorConfig.cpp:34–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34void
35ColorConfig::loadDefaults(void)
36{
37 this->lcdForeground = SIGDIGGER_DEFAULT_FOREGROUND;
38 this->lcdBackground = SIGDIGGER_DEFAULT_BACKGROUND;
39 this->spectrumForeground = SIGDIGGER_DEFAULT_FOREGROUND;
40
41 this->spectrumBackground = SIGDIGGER_DEFAULT_BACKGROUND;
42 this->constellationForeground = SIGDIGGER_DEFAULT_FOREGROUND;
43 this->transitionForeground = SIGDIGGER_DEFAULT_FOREGROUND;
44 this->histogramForeground = SIGDIGGER_DEFAULT_FOREGROUND;
45
46 this->constellationBackground = SIGDIGGER_DEFAULT_BACKGROUND;
47 this->lcdBackground = SIGDIGGER_DEFAULT_BACKGROUND;
48 this->histogramBackground = SIGDIGGER_DEFAULT_BACKGROUND;
49 this->transitionBackground = SIGDIGGER_DEFAULT_BACKGROUND;
50
51 this->spectrumAxes = SIGDIGGER_DEFAULT_AXES;
52 this->constellationAxes = SIGDIGGER_DEFAULT_AXES;
53 this->transitionAxes = SIGDIGGER_DEFAULT_AXES;
54 this->histogramAxes = SIGDIGGER_DEFAULT_AXES;
55
56 this->symViewBackground = SIGDIGGER_DEFAULT_SV_BG;
57 this->symViewHigh = SIGDIGGER_DEFAULT_SV_FG_HI;
58 this->symViewLow = SIGDIGGER_DEFAULT_SV_FG_LO;
59
60 this->spectrumText = SIGDIGGER_DEFAULT_TEXT;
61 this->spectrumTimeStamps = SIGDIGGER_DEFAULT_TEXT;
62 this->histogramModel = QColor(255, 255, 0, 255);
63
64 this->selection = SIGDIGGER_DEFAULT_SELECTION;
65 this->filterBox = SIGDIGGER_DEFAULT_FILTER_BOX;
66}
67
68#define STRINGFY(x) #x
69#define CCSTORE(field) \

Callers 1

ColorConfigMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected