50 #ifndef CURSORPAINTER_HH 51 #define CURSORPAINTER_HH 60 #include <ACG/GL/GLState.hh> 86 void setCursor (
const QCursor &_cursor);
92 void registerViewer (
glViewer *_viewer);
98 void updateCursorPosition (QPointF _scenePos);
101 QPointF cursorPosition ();
104 void setEnabled (
bool _enabled);
107 void setForceNative (
bool _enabled);
113 void setMouseIn (
bool _in);
116 QRectF cursorBoundingBox ();
120 void cursorToTexture ();
121 void cursorToCursor ();
125 QCursor nativeCursor_;
130 QVector<glViewer *> views_;