diff options
| author | Yuqian Yang <crupest@crupest.life> | 2025-10-17 12:06:14 +0800 |
|---|---|---|
| committer | Yuqian Yang <crupest@crupest.life> | 2025-10-17 12:06:14 +0800 |
| commit | 32aa6f116acc6e3e20a1ec76cef45b29f7005ad7 (patch) | |
| tree | 892b71060a88b58d9293d78033000b05818783df /src/ui/controls/TextBox.cpp | |
| parent | faf77949e19dc0d01f75bf8abb783eda70328048 (diff) | |
| download | cru-32aa6f116acc6e3e20a1ec76cef45b29f7005ad7.tar.gz cru-32aa6f116acc6e3e20a1ec76cef45b29f7005ad7.tar.bz2 cru-32aa6f116acc6e3e20a1ec76cef45b29f7005ad7.zip | |
Remove String stage 1.
Diffstat (limited to 'src/ui/controls/TextBox.cpp')
| -rw-r--r-- | src/ui/controls/TextBox.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/controls/TextBox.cpp b/src/ui/controls/TextBox.cpp index 87672b4f..70695a01 100644 --- a/src/ui/controls/TextBox.cpp +++ b/src/ui/controls/TextBox.cpp @@ -18,10 +18,10 @@ TextBox::TextBox() auto theme_manager = ThemeManager::GetInstance(); text_render_object_ = std::make_unique<TextRenderObject>( - theme_manager->GetResourceBrush(u"text.brush"), - theme_manager->GetResourceFont(u"text.font"), - theme_manager->GetResourceBrush(u"text.selection.brush"), - theme_manager->GetResourceBrush(u"text.caret.brush")); + theme_manager->GetResourceBrush("text.brush"), + theme_manager->GetResourceFont("text.font"), + theme_manager->GetResourceBrush("text.selection.brush"), + theme_manager->GetResourceBrush("text.caret.brush")); text_render_object_->SetEditMode(true); border_render_object_->SetChild(scroll_render_object_.get()); @@ -40,7 +40,7 @@ TextBox::TextBox() border_render_object_->SetBorderEnabled(true); GetStyleRuleSet()->SetParent( - theme_manager->GetResourceStyleRuleSet(u"textbox.style")); + theme_manager->GetResourceStyleRuleSet("textbox.style")); } TextBox::~TextBox() {} |
