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