| 19 | }; |
| 20 | |
| 21 | TuningContext::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 | |
| 33 | void TuningContext::DrawBegin() { |
| 34 | glClearColor(ThemeMgr::mgr.currentTheme->generalBackground.r, ThemeMgr::mgr.currentTheme->generalBackground.g, |
nothing calls this directly
no outgoing calls
no test coverage detected