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