summaryrefslogtreecommitdiffstats
path: root/rfb
diff options
context:
space:
mode:
authorrunge <runge>2005-01-16 04:49:44 +0000
committerrunge <runge>2005-01-16 04:49:44 +0000
commitb58e460fac13a47e9a4de6df0df45cccf9f701f2 (patch)
treeff83ad16e6e066f124590566bedd716a6215c6c3 /rfb
parent336d7dad1df6aa02c7b2e67e4ea2ebcc3be9d458 (diff)
downloadlibvncserver-b58e460fac13a47e9a4de6df0df45cccf9f701f2.zip
libvncserver-b58e460fac13a47e9a4de6df0df45cccf9f701f2.tar.gz
add cursor alphablending to rfb.h cursor.c, x11vnc -alphablend -snapfb etc..
Diffstat (limited to 'rfb')
-rw-r--r--rfb/rfb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/rfb/rfb.h b/rfb/rfb.h
index 9364e8a..b3775bf 100644
--- a/rfb/rfb.h
+++ b/rfb/rfb.h
@@ -664,6 +664,8 @@ typedef struct rfbCursor {
unsigned short foreRed, foreGreen, foreBlue; /* device-independent colour */
unsigned short backRed, backGreen, backBlue; /* device-independent colour */
unsigned char *richSource; /* source bytes for a rich cursor */
+ unsigned char *alphaSource; /* source for alpha blending info */
+ rfbBool alphaPreMultiplied; /* if richSource already has alpha applied */
} rfbCursor, *rfbCursorPtr;
extern unsigned char rfbReverseByte[0x100];
OpenPOWER on IntegriCloud