From 2670641432683c15529d93f3ec2e09fed220b53c Mon Sep 17 00:00:00 2001 From: steven_carr Date: Wed, 3 May 2006 19:29:18 +0000 Subject: Client Independent Server Side Scaling is now supported Both PalmVNC and UltraVNC SetScale messages are supported --- rfb/rfb.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'rfb/rfb.h') 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 -- cgit v1.2.3