MCPcopy Create free account
hub / github.com/cjcliffe/CubicSDR / ModeSelectorCanvas

Method ModeSelectorCanvas

src/visual/ModeSelectorCanvas.cpp:30–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28wxEND_EVENT_TABLE()
29
30ModeSelectorCanvas::ModeSelectorCanvas(wxWindow *parent, const wxGLAttributes& dispAttrs) :
31InteractiveCanvas(parent, dispAttrs), numChoices(0), currentSelection(-1), toggleMode(false), inputChanged(false), padX(4.0), padY(4.0), highlightOverride(false) {
32
33 glContext = new ModeSelectorContext(this, &wxGetApp().GetContext(this), wxGetApp().GetContextAttributes());
34
35 highlightColor = RGBA4f(1.0,1.0,1.0,1.0);
36}
37
38ModeSelectorCanvas::~ModeSelectorCanvas() = default;
39

Callers

nothing calls this directly

Calls 2

RGBA4fClass · 0.85
GetContextAttributesMethod · 0.80

Tested by

no test coverage detected