44 #ifndef CURSORPAINTER_HH 45 #define CURSORPAINTER_HH 54 #include <ACG/GL/GLState.hh> 80 void setCursor (
const QCursor &_cursor);
86 void registerViewer (
glViewer *_viewer);
92 void updateCursorPosition (QPointF _scenePos);
95 QPointF cursorPosition ();
98 void setEnabled (
bool _enabled);
101 void setForceNative (
bool _enabled);
107 void setMouseIn (
bool _in);
110 QRectF cursorBoundingBox ();
114 void cursorToTexture ();
115 void cursorToCursor ();
119 QCursor nativeCursor_;
124 QVector<glViewer *> views_;