void display(void) { glClear(GL_COLOR_BUFFER_BIT); displayDials(); displayButtons(); glutSwapBuffers(); }
void View::displayBase(void){ try{ // render buttons and paper displayPaper(); displayBackground(); displayButtons(); displaySliders(); displayCurrentColour(); // reset colours glColor3f(1.0f, 1.0f, 1.0f); } catch(...){ throw eFileNotFoundException(); } }