From 2b28ec296fdc72050569b9fedc1664ada7791497 Mon Sep 17 00:00:00 2001 From: crupest Date: Sat, 20 Nov 2021 23:02:54 +0800 Subject: ... --- src/osx/gui/WindowPrivate.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/osx/gui/WindowPrivate.h') 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 @@ -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 create_event_; Event destroy_event_; Event paint_event_; + Event visibility_change_event_; Event resize_event_; Event focus_event_; Event mouse_enter_leave_event_; -- cgit v1.2.3