Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / Tuto_Image_Cuda / src / cpp / core / 04_OpenGL_pure / glut / MyGLUTWindow.h
diff --git a/WCudaMSE/Tuto_Image_Cuda/src/cpp/core/04_OpenGL_pure/glut/MyGLUTWindow.h b/WCudaMSE/Tuto_Image_Cuda/src/cpp/core/04_OpenGL_pure/glut/MyGLUTWindow.h
new file mode 100755 (executable)
index 0000000..f1efa40
--- /dev/null
@@ -0,0 +1,44 @@
+#ifndef MYGLUTWINDOW_H_\r
+#define MYGLUTWINDOW_H_\r
+\r
+#include "GLUTWindow.h"\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    Declaration                                     *|\r
+ \*---------------------------------------------------------------------*/\r
+\r
+/*--------------------------------------*\\r
+ |*            Public                  *|\r
+ \*-------------------------------------*/\r
+\r
+class MyGLUTWindow: public GLUTWindow\r
+    {\r
+    public:\r
+\r
+        /*--------------------------------------*\\r
+        |*             Constructor             *|\r
+        \*-------------------------------------*/\r
+\r
+       MyGLUTWindow(Displayable_A* ptrDisplayable, string title, int width, int height, int pxFrame = 0, int pyFrame = 0);\r
+\r
+       /*--------------------------------------*\\r
+        |*             Destructor              *|\r
+        \*-------------------------------------*/\r
+\r
+       virtual ~MyGLUTWindow();\r
+\r
+       /*--------------------------------------*\\r
+        |*             Surcharge               *|\r
+        \*-------------------------------------*/\r
+\r
+       /**\r
+        * Override pour animation, appeler repaint\r
+        */\r
+       virtual void idleFunc();\r
+    };\r
+\r
+#endif \r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    End                                             *|\r
+ \*---------------------------------------------------------------------*/\r