|      
float rotation, rotationIncrement; | 
| MyWindow::MyWindow(int
width, int height, const char* title) : Fl_Gl_Window(width, height, title) | 
|   
. . . | 
|      
. . . | 
| int
MyWindow::handle(int event) | 
| #include
<Fl/Fl.h> | 

| Choose Build -> Build Solution to compile and link the program and Debug -> Start Without Debugging to run it. You should see an OpenGL window just like this. By pressing the left or right arrow keys the cube should now rotate and you should see the other sides of the cube rendered in different colors. |  | 
|      
. . . | 
| void
IdleCallback(void* pData) | 
| MyWindow::MyWindow(int
width, int height, const char* title) : Fl_Gl_Window(width, height, title) | 
| int
MyWindow::handle(int event) | 
| To test the new version of out program we choose Build -> Build Solution to compile and link the program and Debug -> Start Without Debugging to run it. |  |