diff options
author | Pierre Ossman <ossman@cendio.se> | 2017-02-19 15:48:17 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2017-02-22 16:58:10 +0100 |
commit | 6a1a0d0c578e39338e757edf59cf8806a9d86b0f (patch) | |
tree | a82ede30f7e9d1f36b3169acb6a7a6a4f936ad78 /common/rfb/ConnParams.h | |
parent | e20cf62bbdefd48979603105d60c3a170eb2ece6 (diff) | |
download | tigervnc-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/ConnParams.h')
-rw-r--r-- | common/rfb/ConnParams.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/rfb/ConnParams.h b/common/rfb/ConnParams.h index 9e647baa..517e6490 100644 --- a/common/rfb/ConnParams.h +++ b/common/rfb/ConnParams.h @@ -77,7 +77,7 @@ namespace rfb { const char* name() const { return name_; } void setName(const char* name); - const Cursor& cursor() const { return cursor_; } + const Cursor& cursor() const { return *cursor_; } void setCursor(const Cursor& cursor); bool supportsEncoding(rdr::S32 encoding) const; @@ -106,7 +106,7 @@ namespace rfb { PixelFormat pf_; char* name_; - Cursor cursor_; + Cursor* cursor_; std::set<rdr::S32> encodings_; char verStr[13]; int verStrPos; |