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.cpp;fp=WCudaMSE%2FTuto_Image_Cuda%2Fsrc%2Fcpp%2Fcore%2F04_OpenGL_pure%2Fglut%2FMyGLUTWindow.cpp;h=527bee2f981d04d15097f9654a1f289650b95bca;hb=8d08c12b29c2a14684f35c023ee39e694bb80d25;hp=0000000000000000000000000000000000000000;hpb=226de81f7e1f1fbf4ac79d0d089e8a05ec7159a0;p=GPU.git diff --git a/WCudaMSE/Tuto_Image_Cuda/src/cpp/core/04_OpenGL_pure/glut/MyGLUTWindow.cpp b/WCudaMSE/Tuto_Image_Cuda/src/cpp/core/04_OpenGL_pure/glut/MyGLUTWindow.cpp new file mode 100755 index 0000000..527bee2 --- /dev/null +++ b/WCudaMSE/Tuto_Image_Cuda/src/cpp/core/04_OpenGL_pure/glut/MyGLUTWindow.cpp @@ -0,0 +1,41 @@ +#include "MyGLUTWindow.h" + +/*----------------------------------------------------------------------*\ + |* Implementation *| + \*---------------------------------------------------------------------*/ + +/*--------------------------------------*\ +|* Constructor *| + \*-------------------------------------*/ + +MyGLUTWindow::MyGLUTWindow(Displayable_A* ptrDisplayable, string title, int width, int height, int pxFrame, int pyFrame) : + GLUTWindow(ptrDisplayable, title, width, height, pxFrame, pyFrame) + { + + } + +/*--------------------------------------*\ +|* Destructor *| + \*-------------------------------------*/ + +MyGLUTWindow::~MyGLUTWindow() + { + //Rien + } + +/*--------------------------------------*\ +|* Surcharge *| + \*-------------------------------------*/ + +/** + * Override pour animation, appeler repaint + */ +void MyGLUTWindow::idleFunc() + { + repaint(); + } + +/*----------------------------------------------------------------------*\ + |* End *| + \*---------------------------------------------------------------------*/ +