From 835b4ef7cdf7df1f91aa0d337a5a4537011d4742 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Wed, 8 Jun 2011 17:02:36 +0000 Subject: Add support for cursors to the new viewer. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4472 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- vncviewer/Viewport.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'vncviewer/Viewport.h') 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 #include #include +#include #include #include @@ -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 -- cgit v1.2.3