diff options
author | crupest <crupest@outlook.com> | 2020-09-11 11:17:56 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-09-11 11:17:56 +0800 |
commit | 93b8a62d28f9427f0979d62b71f12fb2858064ee (patch) | |
tree | 8f77e88a2a48db2a4e9fe72e5c85088f8d659a7f /include/cru/ui/render | |
parent | 65ca046989cd641da65b754bfa1c99f5e54b219a (diff) | |
download | cru-93b8a62d28f9427f0979d62b71f12fb2858064ee.tar.gz cru-93b8a62d28f9427f0979d62b71f12fb2858064ee.tar.bz2 cru-93b8a62d28f9427f0979d62b71f12fb2858064ee.zip |
...
Diffstat (limited to 'include/cru/ui/render')
-rw-r--r-- | include/cru/ui/render/TextRenderObject.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/cru/ui/render/TextRenderObject.hpp b/include/cru/ui/render/TextRenderObject.hpp index 0b276415..3be42bbb 100644 --- a/include/cru/ui/render/TextRenderObject.hpp +++ b/include/cru/ui/render/TextRenderObject.hpp @@ -35,6 +35,7 @@ class TextRenderObject : public RenderObject { ~TextRenderObject() override; std::u16string GetText() const; + std::u16string_view GetTextView() const; void SetText(std::u16string new_text); std::shared_ptr<platform::graph::IBrush> GetBrush() const { return brush_; } |