aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/graph
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-09-11 11:17:56 +0800
committercrupest <crupest@outlook.com>2020-09-11 11:17:56 +0800
commit93b8a62d28f9427f0979d62b71f12fb2858064ee (patch)
tree8f77e88a2a48db2a4e9fe72e5c85088f8d659a7f /include/cru/platform/graph
parent65ca046989cd641da65b754bfa1c99f5e54b219a (diff)
downloadcru-93b8a62d28f9427f0979d62b71f12fb2858064ee.tar.gz
cru-93b8a62d28f9427f0979d62b71f12fb2858064ee.tar.bz2
cru-93b8a62d28f9427f0979d62b71f12fb2858064ee.zip
...
Diffstat (limited to 'include/cru/platform/graph')
-rw-r--r--include/cru/platform/graph/TextLayout.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/cru/platform/graph/TextLayout.hpp b/include/cru/platform/graph/TextLayout.hpp
index 7dd20987..a101983f 100644
--- a/include/cru/platform/graph/TextLayout.hpp
+++ b/include/cru/platform/graph/TextLayout.hpp
@@ -7,6 +7,7 @@
namespace cru::platform::graph {
struct ITextLayout : virtual IGraphResource {
virtual std::u16string GetText() = 0;
+ virtual std::u16string_view GetTextView() = 0;
virtual void SetText(std::u16string new_text) = 0;
virtual std::shared_ptr<IFont> GetFont() = 0;