diff options
author | crupest <crupest@outlook.com> | 2020-11-09 20:48:13 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-11-09 20:48:13 +0800 |
commit | c5fe6fc72e9bca222e6d7b94fd47523089083fdd (patch) | |
tree | c125bb895641cc155c4555dde1c45751d8f63ce2 /src | |
parent | bed29872d2a7befff9d4cb7313cb40060326a95e (diff) | |
download | cru-c5fe6fc72e9bca222e6d7b94fd47523089083fdd.tar.gz cru-c5fe6fc72e9bca222e6d7b94fd47523089083fdd.tar.bz2 cru-c5fe6fc72e9bca222e6d7b94fd47523089083fdd.zip |
...
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/controls/RootControl.cpp | 2 |
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); } |