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