aboutsummaryrefslogtreecommitdiff
path: root/src/ui/controls
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-10-30 11:25:57 +0800
committercrupest <crupest@outlook.com>2020-10-30 11:25:57 +0800
commita176c40ba0f913f98e966f11bad557833ae6dc57 (patch)
tree717f43cb8d6c8c189840d00df68c3d0463d94bdd /src/ui/controls
parent624552fb112f29b91dd96f9543e813b5ee16e87b (diff)
downloadcru-a176c40ba0f913f98e966f11bad557833ae6dc57.tar.gz
cru-a176c40ba0f913f98e966f11bad557833ae6dc57.tar.bz2
cru-a176c40ba0f913f98e966f11bad557833ae6dc57.zip
...
Diffstat (limited to 'src/ui/controls')
-rw-r--r--src/ui/controls/TextControlService.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/controls/TextControlService.hpp b/src/ui/controls/TextControlService.hpp
index 8ad87416..a7e4e440 100644
--- a/src/ui/controls/TextControlService.hpp
+++ b/src/ui/controls/TextControlService.hpp
@@ -12,7 +12,7 @@
#include "cru/ui/DebugFlags.hpp"
#include "cru/ui/ShortcutHub.hpp"
#include "cru/ui/UiEvent.hpp"
-#include "cru/ui/WindowHost.hpp"
+#include "cru/ui/host/WindowHost.hpp"
#include "cru/ui/render/CanvasRenderObject.hpp"
#include "cru/ui/render/ScrollRenderObject.hpp"
#include "cru/ui/render/TextRenderObject.hpp"
@@ -136,7 +136,7 @@ class TextControlService : public Object {
}
platform::gui::IInputMethodContext* GetInputMethodContext() {
- WindowHost* host = this->control_->GetWindowHost();
+ host::WindowHost* host = this->control_->GetWindowHost();
if (!host) return nullptr;
platform::gui::INativeWindow* native_window = host->GetNativeWindow();
if (!native_window) return nullptr;