diff options
author | crupest <crupest@outlook.com> | 2019-05-24 23:45:58 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-05-24 23:45:58 +0800 |
commit | b6db663269201fa14a6a4aa1b9042645a9e8f859 (patch) | |
tree | 1984e2c2784fb9623d4c20fbdd6fc650792e133c /include/cru/platform/graph/text_layout.hpp | |
parent | b9df1bcaea0c19b2e29479cdb1ad5a39e23c4ee7 (diff) | |
download | cru-b6db663269201fa14a6a4aa1b9042645a9e8f859.tar.gz cru-b6db663269201fa14a6a4aa1b9042645a9e8f859.tar.bz2 cru-b6db663269201fa14a6a4aa1b9042645a9e8f859.zip |
...
Diffstat (limited to 'include/cru/platform/graph/text_layout.hpp')
-rw-r--r-- | include/cru/platform/graph/text_layout.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/cru/platform/graph/text_layout.hpp b/include/cru/platform/graph/text_layout.hpp index eb13c115..894c1408 100644 --- a/include/cru/platform/graph/text_layout.hpp +++ b/include/cru/platform/graph/text_layout.hpp @@ -8,13 +8,13 @@ #include <vector> namespace cru::platform::graph { -struct FontDescriptor; +struct IFontDescriptor; -struct TextLayout : virtual Interface { +struct ITextLayout : virtual Interface { virtual std::wstring GetText() = 0; virtual void SetText(std::wstring new_text) = 0; - virtual std::shared_ptr<FontDescriptor> GetFont() = 0; - virtual void SetFont(std::shared_ptr<FontDescriptor> font) = 0; + virtual std::shared_ptr<IFontDescriptor> GetFont() = 0; + virtual void SetFont(std::shared_ptr<IFontDescriptor> font) = 0; virtual void SetMaxWidth(float max_width) = 0; virtual void SetMaxHeight(float max_height) = 0; virtual ui::Rect GetTextBounds() = 0; |