summaryrefslogtreecommitdiff
path: root/vcl/inc/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/inc/window.h')
-rw-r--r--vcl/inc/window.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/vcl/inc/window.h b/vcl/inc/window.h
index 8ba8be792eb6..061996dd856e 100644
--- a/vcl/inc/window.h
+++ b/vcl/inc/window.h
@@ -25,6 +25,7 @@
#include <tools/fract.hxx>
#include <vcl/idle.hxx>
#include <vcl/rendersettings.hxx>
+#include <o3tl/typed_flags_set.hxx>
#include <list>
#include <vector>
@@ -174,6 +175,20 @@ struct ImplAccessibleInfos
enum AlwaysInputMode { AlwaysInputNone = 0, AlwaysInputEnabled = 1, AlwaysInputDisabled =2 };
+enum class ImplPaintFlags {
+ NONE = 0x0000,
+ Paint = 0x0001,
+ PaintAll = 0x0002,
+ PaintAllChildren = 0x0004,
+ PaintChildren = 0x0008,
+ Erase = 0x0010,
+ CheckRtl = 0x0020,
+};
+namespace o3tl {
+ template<> struct typed_flags<ImplPaintFlags> : is_typed_flags<ImplPaintFlags, 0x003f> {};
+}
+
+
class WindowImpl
{
private:
@@ -254,7 +269,7 @@ public:
WindowType mnType;
ControlPart mnNativeBackground;
sal_uInt16 mnWaitCount;
- sal_uInt16 mnPaintFlags;
+ ImplPaintFlags mnPaintFlags;
GetFocusFlags mnGetFocusFlags;
ParentClipMode mnParentClipMode;
ActivateModeFlags mnActivateMode;