From a60910cb3db6f47fd8f3b7f31648a9d0514d4f2c Mon Sep 17 00:00:00 2001 From: crupest Date: Sat, 20 Nov 2021 22:43:30 +0800 Subject: ... --- include/cru/osx/gui/Window.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include/cru/osx/gui/Window.hpp') 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 BeginPaint() override; + IEvent* CreateEvent() override; IEvent* DestroyEvent() override; IEvent* PaintEvent() override; IEvent* ResizeEvent() override; @@ -69,9 +73,6 @@ class OsxWindow : public OsxGuiResource, public INativeWindow { IInputMethodContext* GetInputMethodContext() override; - private: - void CreateWindow(); - private: std::unique_ptr p_; }; -- cgit v1.2.3