diff options
author | crupest <crupest@outlook.com> | 2021-11-20 22:43:30 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-11-20 22:43:30 +0800 |
commit | a60910cb3db6f47fd8f3b7f31648a9d0514d4f2c (patch) | |
tree | 32c01c22e21742ae0c9febb2cbc26339f99eec1d /include/cru/osx/gui/Window.hpp | |
parent | 1a53ed0791d9793ed8030d3a44e833e5e7c4542b (diff) | |
download | cru-a60910cb3db6f47fd8f3b7f31648a9d0514d4f2c.tar.gz cru-a60910cb3db6f47fd8f3b7f31648a9d0514d4f2c.tar.bz2 cru-a60910cb3db6f47fd8f3b7f31648a9d0514d4f2c.zip |
...
Diffstat (limited to 'include/cru/osx/gui/Window.hpp')
-rw-r--r-- | include/cru/osx/gui/Window.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/cru/osx/gui/Window.hpp b/include/cru/osx/gui/Window.hpp index 406c133f..7ea21926 100644 --- a/include/cru/osx/gui/Window.hpp +++ b/include/cru/osx/gui/Window.hpp @@ -39,6 +39,9 @@ class OsxWindow : public OsxGuiResource, public INativeWindow { Size GetClientSize() override; void SetClientSize(const Size& size) override; + Rect GetClientRect() override; + void SetClientRect(const Rect& rect) override; + Rect GetWindowRect() override; void SetWindowRect(const Rect& rect) override; @@ -55,6 +58,7 @@ class OsxWindow : public OsxGuiResource, public INativeWindow { std::unique_ptr<graphics::IPainter> BeginPaint() override; + IEvent<std::nullptr_t>* CreateEvent() override; IEvent<std::nullptr_t>* DestroyEvent() override; IEvent<std::nullptr_t>* PaintEvent() override; IEvent<Size>* ResizeEvent() override; @@ -70,9 +74,6 @@ class OsxWindow : public OsxGuiResource, public INativeWindow { IInputMethodContext* GetInputMethodContext() override; private: - void CreateWindow(); - - private: std::unique_ptr<details::OsxWindowPrivate> p_; }; } // namespace cru::platform::gui::osx |