summaryrefslogtreecommitdiffstats
path: root/rfb
diff options
context:
space:
mode:
authorsteven_carr <steven_carr>2006-05-03 19:29:18 +0000
committersteven_carr <steven_carr>2006-05-03 19:29:18 +0000
commit2670641432683c15529d93f3ec2e09fed220b53c (patch)
tree29d517f032b71b673681574dc352d80096a8426f /rfb
parentafa9fae0248650cb358463c37756c3560da4b57a (diff)
downloadlibtdevnc-2670641432683c15529d93f3ec2e09fed220b53c.tar.gz
libtdevnc-2670641432683c15529d93f3ec2e09fed220b53c.zip
Client Independent Server Side Scaling is now supported
Both PalmVNC and UltraVNC SetScale messages are supported
Diffstat (limited to 'rfb')
-rw-r--r--rfb/rfb.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/rfb/rfb.h b/rfb/rfb.h
index 06ffa8f..23d64d4 100644
--- a/rfb/rfb.h
+++ b/rfb/rfb.h
@@ -201,6 +201,10 @@ typedef struct _rfbExtensionData {
typedef struct _rfbScreenInfo
{
+ /* this structure has children that are scaled versions of this screen */
+ struct _rfbScreenInfo *scaledScreenNext;
+ int scaledScreenRefCount;
+
int width;
int paddedWidthInBytes;
int height;
@@ -348,6 +352,12 @@ typedef struct _rfbClientRec {
/* back pointer to the screen */
rfbScreenInfoPtr screen;
+
+ /* points to a scaled version of the screen buffer in cl->scaledScreenList */
+ rfbScreenInfoPtr scaledScreen;
+ /* how did the client tell us it wanted the screen changed? Ultra style or palm style? */
+ rfbBool PalmVNC;
+
/* private data. You should put any application client specific data
* into a struct and let clientData point to it. Don't forget to