summaryrefslogtreecommitdiffstats
path: root/vncviewer/Viewport.h
diff options
context:
space:
mode:
Diffstat (limited to 'vncviewer/Viewport.h')
-rw-r--r--vncviewer/Viewport.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/vncviewer/Viewport.h b/vncviewer/Viewport.h
index 293eb93b..b8f1a789 100644
--- a/vncviewer/Viewport.h
+++ b/vncviewer/Viewport.h
@@ -25,6 +25,7 @@
#include <FL/Fl.H>
#include <FL/Fl_Widget.H>
#include <FL/Fl_Menu_Button.H>
+#include <FL/Fl_RGB_Image.H>
#include <rfb/Rect.h>
#include <rfb/Region.h>
@@ -78,6 +79,9 @@ public:
damageRect(r);
}
+ void setCursor(int width, int height, const rfb::Point& hotspot,
+ void* data, void* mask);
+
// Fl_Widget callback methods
void draw();
@@ -130,6 +134,9 @@ private:
int menuKeyCode;
Fl_Menu_Button *contextMenu;
+
+ Fl_RGB_Image *cursor;
+ rfb::Point cursorHotspot;
};
#endif