diff options
author | crupest <crupest@outlook.com> | 2021-11-17 18:53:48 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-11-17 18:53:48 +0800 |
commit | 7be210036e363f2105ace761451448507d4b06d8 (patch) | |
tree | f1facc5899f35dd02efdb9e0aadd26155d5499d5 /include/cru/ui/controls/TextBox.hpp | |
parent | 17e35c8ebb51c2679421330056615fa8678b939e (diff) | |
download | cru-7be210036e363f2105ace761451448507d4b06d8.tar.gz cru-7be210036e363f2105ace761451448507d4b06d8.tar.bz2 cru-7be210036e363f2105ace761451448507d4b06d8.zip |
...
Diffstat (limited to 'include/cru/ui/controls/TextBox.hpp')
-rw-r--r-- | include/cru/ui/controls/TextBox.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cru/ui/controls/TextBox.hpp b/include/cru/ui/controls/TextBox.hpp index 5693b315..f3925c88 100644 --- a/include/cru/ui/controls/TextBox.hpp +++ b/include/cru/ui/controls/TextBox.hpp @@ -14,7 +14,7 @@ class TextBox : public NoChildControl, public virtual IBorderControl, public virtual ITextHostControl { public: - static constexpr std::u16string_view control_type = u"TextBox"; + static constexpr StringView control_type = u"TextBox"; static TextBox* Create() { return new TextBox(); } @@ -27,7 +27,7 @@ class TextBox : public NoChildControl, ~TextBox() override; - std::u16string_view GetControlType() const final { return control_type; } + String GetControlType() const final { return control_type.ToString(); } render::RenderObject* GetRenderObject() const override; |