summaryrefslogtreecommitdiffstats
path: root/rfb
diff options
context:
space:
mode:
authorsteven_carr <steven_carr>2006-05-04 16:07:06 +0000
committersteven_carr <steven_carr>2006-05-04 16:07:06 +0000
commit5865f0c4b76a45e630ffc1899016ef99616b6fbf (patch)
tree27ecf26441ee092c4e441e2bdba3a3bb1b850907 /rfb
parent97fe75fdce41162dd3744850564694aab36a4615 (diff)
downloadlibvncserver-5865f0c4b76a45e630ffc1899016ef99616b6fbf.zip
libvncserver-5865f0c4b76a45e630ffc1899016ef99616b6fbf.tar.gz
Client side support for PalmVNC/UltraVNC 'Server Side Scaling'
Diffstat (limited to 'rfb')
-rw-r--r--rfb/rfbclient.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/rfb/rfbclient.h b/rfb/rfbclient.h
index 5a219a3..3454af4 100644
--- a/rfb/rfbclient.h
+++ b/rfb/rfbclient.h
@@ -89,6 +89,8 @@ typedef struct {
int qualityLevel;
rfbBool enableJPEG;
rfbBool useRemoteCursor;
+ rfbBool palmVNC; /* use palmvnc specific SetScale (vs ultravnc) */
+ int scaleSetting; /* 0 means no scale set, else 1/scaleSetting */
} AppData;
@@ -239,6 +241,7 @@ extern rfbBool SendIncrementalFramebufferUpdateRequest(rfbClient* client);
extern rfbBool SendFramebufferUpdateRequest(rfbClient* client,
int x, int y, int w, int h,
rfbBool incremental);
+extern rfbBool SendScaleSetting(rfbClient* client,int scaleSetting);
extern rfbBool SendPointerEvent(rfbClient* client,int x, int y, int buttonMask);
extern rfbBool SendKeyEvent(rfbClient* client,uint32_t key, rfbBool down);
extern rfbBool SendClientCutText(rfbClient* client,char *str, int len);
OpenPOWER on IntegriCloud