diff options
author | Jan Holesovsky <kendy@collabora.com> | 2015-05-23 21:37:25 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-05-24 02:14:40 +0200 |
commit | 2d40468efc1a90969d4ed34f699a8f48277cb8b3 (patch) | |
tree | 147f56fe5ac5cb0d32ab2aecf0f88c2bb4d07d11 /include | |
parent | 1926cfb9386269b81b6ca62bdc64591f2c403d03 (diff) |
rendercontext: Make the Gtk+ native widgets work with double-buffering.
Change-Id: Ic7101ab7cbaa7fd5f6b073a73ef0c0088b1af4c6
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/salnativewidgets.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/vcl/salnativewidgets.hxx b/include/vcl/salnativewidgets.hxx index 5b0bda7d45bc..5177efeb3f64 100644 --- a/include/vcl/salnativewidgets.hxx +++ b/include/vcl/salnativewidgets.hxx @@ -246,11 +246,12 @@ enum class ControlState { HIDDEN = 0x0010, DEFAULT = 0x0020, SELECTED = 0x0040, - CACHING_ALLOWED = 0x8000, // set when the control is completely visible (i.e. not clipped) + DOUBLEBUFFERING = 0x4000, ///< Set when the control is painted using double-buffering via VirtualDevice. + CACHING_ALLOWED = 0x8000, ///< Set when the control is completely visible (i.e. not clipped). }; namespace o3tl { - template<> struct typed_flags<ControlState> : is_typed_flags<ControlState, 0x8007f> {}; + template<> struct typed_flags<ControlState> : is_typed_flags<ControlState, 0xc007f> {}; } /* ButtonValue: |