diff options
author | crupest <crupest@outlook.com> | 2021-09-06 22:19:25 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-09-06 22:19:25 +0800 |
commit | bd44f9bc59c7fc2a8d2715d23368926aef5c5c32 (patch) | |
tree | 844c3a1faf62d133bfced5dc7f39f13f13d87b46 /include/cru/platform/graphics/TextLayout.hpp | |
parent | 16007714fc0ad365c6da52dc58201ba4bc6aa964 (diff) | |
download | cru-bd44f9bc59c7fc2a8d2715d23368926aef5c5c32.tar.gz cru-bd44f9bc59c7fc2a8d2715d23368926aef5c5c32.tar.bz2 cru-bd44f9bc59c7fc2a8d2715d23368926aef5c5c32.zip |
...
Diffstat (limited to 'include/cru/platform/graphics/TextLayout.hpp')
-rw-r--r-- | include/cru/platform/graphics/TextLayout.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/cru/platform/graphics/TextLayout.hpp b/include/cru/platform/graphics/TextLayout.hpp index b363fb77..716c8047 100644 --- a/include/cru/platform/graphics/TextLayout.hpp +++ b/include/cru/platform/graphics/TextLayout.hpp @@ -6,9 +6,8 @@ namespace cru::platform::graphics { struct ITextLayout : virtual IGraphResource { - virtual std::u16string GetText() = 0; - virtual std::u16string_view GetTextView() = 0; - virtual void SetText(std::u16string new_text) = 0; + virtual String GetText() = 0; + virtual void SetText(String new_text) = 0; virtual std::shared_ptr<IFont> GetFont() = 0; virtual void SetFont(std::shared_ptr<IFont> font) = 0; |