aboutsummaryrefslogtreecommitdiff
path: root/src/osx/gui/WindowPrivate.h
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-11-20 23:02:54 +0800
committercrupest <crupest@outlook.com>2021-11-20 23:02:54 +0800
commit2b28ec296fdc72050569b9fedc1664ada7791497 (patch)
tree03675b5ca035256b3092657792e5004dde497111 /src/osx/gui/WindowPrivate.h
parenta60910cb3db6f47fd8f3b7f31648a9d0514d4f2c (diff)
downloadcru-2b28ec296fdc72050569b9fedc1664ada7791497.tar.gz
cru-2b28ec296fdc72050569b9fedc1664ada7791497.tar.bz2
cru-2b28ec296fdc72050569b9fedc1664ada7791497.zip
...
Diffstat (limited to 'src/osx/gui/WindowPrivate.h')
-rw-r--r--src/osx/gui/WindowPrivate.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/osx/gui/WindowPrivate.h b/src/osx/gui/WindowPrivate.h
index 88760673..d8deaa0c 100644
--- a/src/osx/gui/WindowPrivate.h
+++ b/src/osx/gui/WindowPrivate.h
@@ -4,6 +4,7 @@
#include "cru/common/Event.hpp"
#include "cru/osx/gui/Cursor.hpp"
#include "cru/platform/gui/TimerHelper.hpp"
+#include "cru/platform/gui/Window.hpp"
#import <AppKit/AppKit.h>
@@ -80,8 +81,8 @@ class OsxWindowPrivate {
OsxWindow* osx_window_;
INativeWindow* parent_;
+ WindowStyleFlag style_flag_;
- bool frame_;
Rect content_rect_;
NSWindow* window_ = nil;
@@ -100,6 +101,7 @@ class OsxWindowPrivate {
Event<std::nullptr_t> create_event_;
Event<std::nullptr_t> destroy_event_;
Event<std::nullptr_t> paint_event_;
+ Event<WindowVisibilityType> visibility_change_event_;
Event<Size> resize_event_;
Event<FocusChangeType> focus_event_;
Event<MouseEnterLeaveType> mouse_enter_leave_event_;