X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=WCudaMSE%2FTuto_Image_Cuda%2Fsrc%2Fcpp%2Fcore%2F04_OpenGL_pure%2Fglut%2FMyGLUTWindow.h;fp=WCudaMSE%2FTuto_Image_Cuda%2Fsrc%2Fcpp%2Fcore%2F04_OpenGL_pure%2Fglut%2FMyGLUTWindow.h;h=f1efa406567749c046598b571aed31c3d0a6b125;hb=8d08c12b29c2a14684f35c023ee39e694bb80d25;hp=0000000000000000000000000000000000000000;hpb=226de81f7e1f1fbf4ac79d0d089e8a05ec7159a0;p=GPU.git 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 index 0000000..f1efa40 --- /dev/null +++ b/WCudaMSE/Tuto_Image_Cuda/src/cpp/core/04_OpenGL_pure/glut/MyGLUTWindow.h @@ -0,0 +1,44 @@ +#ifndef MYGLUTWINDOW_H_ +#define MYGLUTWINDOW_H_ + +#include "GLUTWindow.h" + +/*----------------------------------------------------------------------*\ + |* Declaration *| + \*---------------------------------------------------------------------*/ + +/*--------------------------------------*\ + |* Public *| + \*-------------------------------------*/ + +class MyGLUTWindow: public GLUTWindow + { + public: + + /*--------------------------------------*\ + |* Constructor *| + \*-------------------------------------*/ + + MyGLUTWindow(Displayable_A* ptrDisplayable, string title, int width, int height, int pxFrame = 0, int pyFrame = 0); + + /*--------------------------------------*\ + |* Destructor *| + \*-------------------------------------*/ + + virtual ~MyGLUTWindow(); + + /*--------------------------------------*\ + |* Surcharge *| + \*-------------------------------------*/ + + /** + * Override pour animation, appeler repaint + */ + virtual void idleFunc(); + }; + +#endif + +/*----------------------------------------------------------------------*\ + |* End *| + \*---------------------------------------------------------------------*/