diff options
Diffstat (limited to 'include/vcl/window.hxx')
-rw-r--r-- | include/vcl/window.hxx | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx index 3b8a42ac5d0b..c4d3540df1d9 100644 --- a/include/vcl/window.hxx +++ b/include/vcl/window.hxx @@ -451,8 +451,9 @@ class ImplDockingWindowWrapper; class ImplPopupFloatWin; class MenuFloatingWindow; class LifecycleTest; - namespace svt { class PopupWindowControllerImpl; } + + enum class WindowHitTest { NONE = 0x0000, Inside = 0x0001, @@ -462,6 +463,16 @@ namespace o3tl { template<> struct typed_flags<WindowHitTest> : is_typed_flags<WindowHitTest, 0x0003> {}; }; + +enum class WindowExtendedStyle { + NONE = 0x0000, + Document = 0x0001, + DocModified = 0x0002, +}; +namespace o3tl { + template<> struct typed_flags<WindowExtendedStyle> : is_typed_flags<WindowExtendedStyle, 0x0003> {}; +}; + namespace vcl { class VCL_DLLPUBLIC RenderTools @@ -823,8 +834,8 @@ public: void SetStyle( WinBits nStyle ); WinBits GetStyle() const; WinBits GetPrevStyle() const; - void SetExtendedStyle( WinBits nExtendedStyle ); - WinBits GetExtendedStyle() const; + void SetExtendedStyle( WindowExtendedStyle nExtendedStyle ); + WindowExtendedStyle GetExtendedStyle() const; void SetType( WindowType nType ); WindowType GetType() const; bool IsSystemWindow() const; |