From ff6cb3b468a0d4caf87c2291818d24e0a6d12b39 Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 30 Nov 2021 15:26:16 +0800 Subject: ... --- include/cru/ui/controls/RootControl.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/cru/ui/controls') 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); -- cgit v1.2.3