X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Fglwidget.h;h=40d27556e6f619b96a2884f0f82b77c064f08e82;hb=7228359373eb7602c26f7b098d6b2271ff5727a1;hp=1e8e113bb65a51d673171fc7fac3c95f85895601;hpb=5d76d651dfc3aa0a2e810e6b6db2ae8a2e34c53e;p=virtualjaguar diff --git a/src/gui/glwidget.h b/src/gui/glwidget.h index 1e8e113..40d2755 100644 --- a/src/gui/glwidget.h +++ b/src/gui/glwidget.h @@ -17,6 +17,9 @@ class GLWidget: public QGLWidget GLWidget(QWidget * parent = 0); ~GLWidget(); +// void HideMouseIfTimedOut(void); + void HandleMouseHiding(void); + void CheckAndRestoreMouseCursor(void); // QSize minimumSizeHint() const; // QSize sizeHint() const; @@ -27,6 +30,9 @@ class GLWidget: public QGLWidget void initializeGL(void); void paintGL(void); void resizeGL(int width, int height); + void mouseMoveEvent(QMouseEvent *); +// void mousePressEvent(QMouseEvent * event); +// void mouseReleaseEvent(QMouseEvent * event); private: void CreateTextures(void); @@ -43,6 +49,7 @@ class GLWidget: public QGLWidget int offset; bool fullscreen; int outputWidth; + int32_t hideMouseTimeout; }; #endif // __GLWIDGET_H__