diff options
author | Pierre Ossman <ossman@cendio.se> | 2011-06-08 17:02:36 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2011-06-08 17:02:36 +0000 |
commit | 835b4ef7cdf7df1f91aa0d337a5a4537011d4742 (patch) | |
tree | 9131abc63a9f55bc265c6d77aba6bada7911ba71 /vncviewer/DesktopWindow.h | |
parent | 494271583e29d6d15036989322c62f88f941bc32 (diff) | |
download | tigervnc-835b4ef7cdf7df1f91aa0d337a5a4537011d4742.tar.gz tigervnc-835b4ef7cdf7df1f91aa0d337a5a4537011d4742.zip |
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
Diffstat (limited to 'vncviewer/DesktopWindow.h')
-rw-r--r-- | vncviewer/DesktopWindow.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/vncviewer/DesktopWindow.h b/vncviewer/DesktopWindow.h index ec7b05b7..2be07680 100644 --- a/vncviewer/DesktopWindow.h +++ b/vncviewer/DesktopWindow.h @@ -43,10 +43,6 @@ public: // Most efficient format (from DesktopWindow's point of view) const rfb::PixelFormat &getPreferredPF(); - // setCursor() sets the shape of the local cursor - void setCursor(int width, int height, const rfb::Point& hotspot, - void* data, void* mask); - // Flush updates to screen void updateWindow(); @@ -67,6 +63,9 @@ public: void resizeFramebuffer(int new_w, int new_h); + void setCursor(int width, int height, const rfb::Point& hotspot, + void* data, void* mask); + // Fl_Window callback methods void resize(int x, int y, int w, int h); |