Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / Tuto_Image / src / cpp / core / 04_OpenGL_pure / glut / MyGLUTWindow.cpp
1 #include "MyGLUTWindow.h"
2
3 /*----------------------------------------------------------------------*\
4 |* Implementation *|
5 \*---------------------------------------------------------------------*/
6
7 /*--------------------------------------*\
8 |* Constructor *|
9 \*-------------------------------------*/
10
11 MyGLUTWindow::MyGLUTWindow(Displayable_A* ptrDisplayable, string title, int width, int height, int pxFrame, int pyFrame) :
12 GLUTWindow(ptrDisplayable, title, width, height, pxFrame, pyFrame)
13 {
14
15 }
16
17 /*--------------------------------------*\
18 |* Destructor *|
19 \*-------------------------------------*/
20
21 MyGLUTWindow::~MyGLUTWindow()
22 {
23 //Rien
24 }
25
26 /*--------------------------------------*\
27 |* Surcharge *|
28 \*-------------------------------------*/
29
30 /**
31 * Override pour animation, appeler repaint
32 */
33 void MyGLUTWindow::idleFunc()
34 {
35 repaint();
36 }
37
38 /*----------------------------------------------------------------------*\
39 |* End *|
40 \*---------------------------------------------------------------------*/
41