diff options
author | runge <runge> | 2007-01-31 15:29:12 +0000 |
---|---|---|
committer | runge <runge> | 2007-01-31 15:29:12 +0000 |
commit | 1f8da9bde3b7de272228872410143f076662ae13 (patch) | |
tree | b17994299e96318ecd147f052a42eddffa1e9ca9 /rfb | |
parent | b66c944fe30d9bd120c29f28f23336623777eee8 (diff) | |
download | libtdevnc-1f8da9bde3b7de272228872410143f076662ae13.tar.gz libtdevnc-1f8da9bde3b7de272228872410143f076662ae13.zip |
libvncclient: add GotCursorShape() and GotCopyRect(); x11vnc dep on libvncclient
Diffstat (limited to 'rfb')
-rw-r--r-- | rfb/rfbclient.h | 6 |
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) |