diff options
author | crupest <crupest@outlook.com> | 2021-09-29 20:45:36 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-09-29 20:45:36 +0800 |
commit | f246877698e5b9aa98e99f3fd3d2247998008695 (patch) | |
tree | 7239563128f1d78d7537ac98c85b41ce1e2f85a7 /include/cru/osx | |
parent | 0338eb4f547f8eebe8c838c0794ec935db3cf0d8 (diff) | |
download | cru-f246877698e5b9aa98e99f3fd3d2247998008695.tar.gz cru-f246877698e5b9aa98e99f3fd3d2247998008695.tar.bz2 cru-f246877698e5b9aa98e99f3fd3d2247998008695.zip |
...
Diffstat (limited to 'include/cru/osx')
-rw-r--r-- | include/cru/osx/gui/Window.hpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/cru/osx/gui/Window.hpp b/include/cru/osx/gui/Window.hpp index 1e790a65..6bb6b747 100644 --- a/include/cru/osx/gui/Window.hpp +++ b/include/cru/osx/gui/Window.hpp @@ -1,5 +1,6 @@ #pragma once #include "Resource.hpp" +#include "cru/platform/gui/Base.hpp" #include "cru/platform/gui/Window.hpp" #include <memory> @@ -15,7 +16,8 @@ class OsxWindow : public OsxGuiResource, public INativeWindow { friend details::OsxWindowPrivate; public: - explicit OsxWindow(OsxUiApplication* ui_application); + OsxWindow(OsxUiApplication* ui_application, INativeWindow* parent, + bool frame); CRU_DELETE_COPY(OsxWindow) CRU_DELETE_MOVE(OsxWindow) @@ -62,6 +64,9 @@ class OsxWindow : public OsxGuiResource, public INativeWindow { IInputMethodContext* GetInputMethodContext() override; private: + void CreateWindow(); + + private: std::unique_ptr<details::OsxWindowPrivate> p_; }; } // namespace cru::platform::gui::osx |