diff options
author | crupest <crupest@outlook.com> | 2020-12-25 15:38:18 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-12-25 15:38:18 +0800 |
commit | da7ad0ff5c5b158be69c6cf9a2c8e9fc9ef2b3cb (patch) | |
tree | 9d58ba66119f5a1f6efa5a9b75c22e0453993a07 /src/ui/controls/TextBlock.cpp | |
parent | a14704fbd9b9fb377b7009a9fbe641a9b8d0fdfb (diff) | |
download | cru-da7ad0ff5c5b158be69c6cf9a2c8e9fc9ef2b3cb.tar.gz cru-da7ad0ff5c5b158be69c6cf9a2c8e9fc9ef2b3cb.tar.bz2 cru-da7ad0ff5c5b158be69c6cf9a2c8e9fc9ef2b3cb.zip |
...
Diffstat (limited to 'src/ui/controls/TextBlock.cpp')
-rw-r--r-- | src/ui/controls/TextBlock.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/controls/TextBlock.cpp b/src/ui/controls/TextBlock.cpp index 1a432582..0724edcf 100644 --- a/src/ui/controls/TextBlock.cpp +++ b/src/ui/controls/TextBlock.cpp @@ -1,6 +1,5 @@ #include "cru/ui/controls/TextBlock.hpp" -#include "TextControlService.hpp" #include "cru/ui/UiManager.hpp" #include "cru/ui/render/CanvasRenderObject.hpp" #include "cru/ui/render/StackLayoutRenderObject.hpp" @@ -27,7 +26,7 @@ TextBlock::TextBlock() { text_render_object_->SetAttachedControl(this); - service_ = std::make_unique<TextControlService<TextBlock>>(this); + service_ = std::make_unique<TextHostControlService>(this); service_->SetEnabled(false); service_->SetEditable(false); |