summaryrefslogtreecommitdiffstats
path: root/rfb
diff options
context:
space:
mode:
authorrunge <runge>2007-01-31 15:29:12 +0000
committerrunge <runge>2007-01-31 15:29:12 +0000
commit1f8da9bde3b7de272228872410143f076662ae13 (patch)
treeb17994299e96318ecd147f052a42eddffa1e9ca9 /rfb
parentb66c944fe30d9bd120c29f28f23336623777eee8 (diff)
downloadlibvncserver-1f8da9bde3b7de272228872410143f076662ae13.zip
libvncserver-1f8da9bde3b7de272228872410143f076662ae13.tar.gz
libvncclient: add GotCursorShape() and GotCopyRect(); x11vnc dep on libvncclient
Diffstat (limited to 'rfb')
-rw-r--r--rfb/rfbclient.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/rfb/rfbclient.h b/rfb/rfbclient.h
index e8754fd..17b22b3 100644
--- a/rfb/rfbclient.h
+++ b/rfb/rfbclient.h
@@ -107,6 +107,9 @@ typedef rfbBool (*MallocFrameBufferProc)(struct _rfbClient* client);
typedef void (*GotXCutTextProc)(struct _rfbClient* client, const char *text, int textlen);
typedef void (*BellProc)(struct _rfbClient* client);
+typedef void (*GotCursorShapeProc)(struct _rfbClient* client, int xhot, int yhot, int width, int height, int bytesPerPixel);
+typedef void (*GotCopyRectProc)(struct _rfbClient* client, int src_x, int src_y, int w, int h, int dest_x, int dest_y);
+
typedef struct _rfbClient {
uint8_t* frameBuffer;
int width, height;
@@ -222,6 +225,9 @@ typedef struct _rfbClient {
GotXCutTextProc GotXCutText;
BellProc Bell;
+ GotCursorShapeProc GotCursorShape;
+ GotCopyRectProc GotCopyRect;
+
/* Which messages are supported by the server
* This is a *guess* for most servers.
* (If we can even detect the type of server)
OpenPOWER on IntegriCloud