diff options
author | crupest <crupest@outlook.com> | 2021-11-30 15:26:16 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-11-30 15:26:16 +0800 |
commit | ff6cb3b468a0d4caf87c2291818d24e0a6d12b39 (patch) | |
tree | 7799f31d70aae62e70bec5e9d1c54811e01164be /include/cru/ui/controls/RootControl.hpp | |
parent | 1bbd3e0c1817774335c97f4c59e0310b61949ece (diff) | |
download | cru-ff6cb3b468a0d4caf87c2291818d24e0a6d12b39.tar.gz cru-ff6cb3b468a0d4caf87c2291818d24e0a6d12b39.tar.bz2 cru-ff6cb3b468a0d4caf87c2291818d24e0a6d12b39.zip |
...
Diffstat (limited to 'include/cru/ui/controls/RootControl.hpp')
-rw-r--r-- | include/cru/ui/controls/RootControl.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/cru/ui/controls/RootControl.hpp b/include/cru/ui/controls/RootControl.hpp index 823b9f03..c3f3da9f 100644 --- a/include/cru/ui/controls/RootControl.hpp +++ b/include/cru/ui/controls/RootControl.hpp @@ -4,6 +4,7 @@ #include "cru/common/Base.hpp" #include "cru/common/Event.hpp" #include "cru/platform/gui/Base.hpp" +#include "cru/platform/gui/Window.hpp" #include "cru/ui/Base.hpp" #include "cru/ui/host/WindowHost.hpp" @@ -20,6 +21,8 @@ class RootControl : public LayoutControl { public: render::RenderObject* GetRenderObject() const override; + platform::gui::INativeWindow* GetNativeWindow(); + protected: void SetGainFocusOnCreateAndDestroyWhenLoseFocus(bool value); |