| 16 | } |
| 17 | |
| 18 | void ModeSelectorContext::DrawBegin() { |
| 19 | glClearColor(ThemeMgr::mgr.currentTheme->generalBackground.r, ThemeMgr::mgr.currentTheme->generalBackground.g, ThemeMgr::mgr.currentTheme->generalBackground.b,1.0); |
| 20 | glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); |
| 21 | |
| 22 | glMatrixMode(GL_MODELVIEW); |
| 23 | glLoadIdentity(); |
| 24 | |
| 25 | glDisable(GL_TEXTURE_2D); |
| 26 | } |
| 27 | |
| 28 | void ModeSelectorContext::DrawSelector(const std::string& label, int c, int cMax, bool on, float r, float g, float b, float a, float px, float py) { |
| 29 | GLint vp[4]; |
nothing calls this directly
no outgoing calls
no test coverage detected