aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/controls/RootControl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/controls/RootControl.cpp b/src/ui/controls/RootControl.cpp
index 1ebcb6e7..015703c3 100644
--- a/src/ui/controls/RootControl.cpp
+++ b/src/ui/controls/RootControl.cpp
@@ -26,6 +26,8 @@ render::RenderObject* RootControl::GetRenderObject() const {
void RootControl::EnsureWindowCreated() { this->GetNativeWindow(true); }
+Rect RootControl::GetRect() { return window_host_->GetWindowRect(); }
+
void RootControl::SetRect(const Rect& rect) {
window_host_->SetWindowRect(rect);
}