Exemple #1
0
void
display(void)
{
  glClear(GL_COLOR_BUFFER_BIT);
  displayDials();
  displayButtons();
  glutSwapBuffers();
}
Exemple #2
0
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();
	}
}