aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/VNCServerST.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2017-02-19 15:48:17 +0100
committerPierre Ossman <ossman@cendio.se>2017-02-22 16:58:10 +0100
commit6a1a0d0c578e39338e757edf59cf8806a9d86b0f (patch)
treea82ede30f7e9d1f36b3169acb6a7a6a4f936ad78 /common/rfb/VNCServerST.h
parente20cf62bbdefd48979603105d60c3a170eb2ece6 (diff)
downloadtigervnc-6a1a0d0c578e39338e757edf59cf8806a9d86b0f.tar.gz
tigervnc-6a1a0d0c578e39338e757edf59cf8806a9d86b0f.zip
Change cursor API to use RGBA data
This will allow us to use better formats that preserve the entire alpha channel.
Diffstat (limited to 'common/rfb/VNCServerST.h')
-rw-r--r--common/rfb/VNCServerST.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/rfb/VNCServerST.h b/common/rfb/VNCServerST.h
index 0ced12a4..49757164 100644
--- a/common/rfb/VNCServerST.h
+++ b/common/rfb/VNCServerST.h
@@ -98,7 +98,7 @@ namespace rfb {
virtual void add_changed(const Region &region);
virtual void add_copied(const Region &dest, const Point &delta);
virtual void setCursor(int width, int height, const Point& hotspot,
- const void* cursorData, const void* mask);
+ const rdr::U8* data);
virtual void setCursorPos(const Point& p);
virtual void bell();
@@ -218,7 +218,7 @@ namespace rfb {
ComparingUpdateTracker* comparer;
Point cursorPos;
- Cursor cursor;
+ Cursor* cursor;
RenderedCursor renderedCursor;
bool renderedCursorInvalid;