aboutsummaryrefslogtreecommitdiff
path: root/include/cru/osx/gui/Window.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/osx/gui/Window.hpp')
-rw-r--r--include/cru/osx/gui/Window.hpp7
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