diff options
author | crupest <crupest@outlook.com> | 2020-01-03 00:43:46 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-01-03 00:43:46 +0800 |
commit | 8fc4e33b97372d93b1bcc4b598e5c8e2f15652d8 (patch) | |
tree | 8508a9e9f54f9ff871f53f5628894cefec440d05 /include/cru/ui | |
parent | d5ff69096a3f56052b30d8ef827845473d4aa5ea (diff) | |
download | cru-8fc4e33b97372d93b1bcc4b598e5c8e2f15652d8.tar.gz cru-8fc4e33b97372d93b1bcc4b598e5c8e2f15652d8.tar.bz2 cru-8fc4e33b97372d93b1bcc4b598e5c8e2f15652d8.zip |
...
Diffstat (limited to 'include/cru/ui')
-rw-r--r-- | include/cru/ui/window.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/cru/ui/window.hpp b/include/cru/ui/window.hpp index 105063d9..9f37c9d5 100644 --- a/include/cru/ui/window.hpp +++ b/include/cru/ui/window.hpp @@ -17,6 +17,8 @@ namespace render { class WindowRenderObject; } +// TODO: Make Window able to be invalid and handle operations in invalidity +// situation. class Window final : public ContentControl, public SelfResolvable<Window> { friend class Control; @@ -43,7 +45,7 @@ class Window final : public ContentControl, public SelfResolvable<Window> { render::RenderObject* GetRenderObject() const override; - platform::native::INativeWindow* GetNativeWindow(); + platform::native::INativeWindow* ResolveNativeWindow(); // Get current control that mouse hovers on. This ignores the mouse-capture // control. Even when mouse is captured by another control, this function |