summaryrefslogtreecommitdiffstats
path: root/rfb
diff options
context:
space:
mode:
authordscho <dscho>2005-01-21 22:01:48 +0000
committerdscho <dscho>2005-01-21 22:01:48 +0000
commit6273f2065a72261ba6cb3f6a070421033c96077d (patch)
tree9f24cf8ad8aff01e6186a7ea702c100a3e90a870 /rfb
parentdbc826d4abc171bed44d1f42a22c2c5bdfef38ef (diff)
downloadlibtdevnc-6273f2065a72261ba6cb3f6a070421033c96077d.tar.gz
libtdevnc-6273f2065a72261ba6cb3f6a070421033c96077d.zip
implemented Floyd-Steinberg dither in order to rfbMakeMaskFromAlphaSource
Diffstat (limited to 'rfb')
-rw-r--r--rfb/rfb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rfb/rfb.h b/rfb/rfb.h
index e911fa1..bdff995 100644
--- a/rfb/rfb.h
+++ b/rfb/rfb.h
@@ -639,6 +639,7 @@ extern rfbBool rfbSendCursorPos(rfbClientPtr cl);
extern void rfbConvertLSBCursorBitmapOrMask(int width,int height,unsigned char* bitmap);
extern rfbCursorPtr rfbMakeXCursor(int width,int height,char* cursorString,char* maskString);
extern char* rfbMakeMaskForXCursor(int width,int height,char* cursorString);
+extern char* rfbMakeMaskFromAlphaSource(int width,int height,unsigned char* alphaSource);
extern void rfbMakeXCursorFromRichCursor(rfbScreenInfoPtr rfbScreen,rfbCursorPtr cursor);
extern void rfbMakeRichCursorFromXCursor(rfbScreenInfoPtr rfbScreen,rfbCursorPtr cursor);
extern void rfbFreeCursor(rfbCursorPtr cursor);