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

Method TuningContext

src/visual/TuningContext.cpp:21–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19};
20
21TuningContext::TuningContext(TuningCanvas *canvas, wxGLContext *sharedContext, wxGLContextAttrs *ctxAttrs) :
22 PrimaryGLContext(canvas, sharedContext, ctxAttrs) {
23 glDisable(GL_CULL_FACE);
24 glDisable(GL_DEPTH_TEST);
25
26 glMatrixMode(GL_PROJECTION);
27 glLoadIdentity();
28
29 comma_locale = std::locale(std::locale(), new comma_numpunct());
30 freqStrFormatted.imbue(comma_locale);
31}
32
33void TuningContext::DrawBegin() {
34 glClearColor(ThemeMgr::mgr.currentTheme->generalBackground.r, ThemeMgr::mgr.currentTheme->generalBackground.g,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected