aboutsummaryrefslogtreecommitdiff
path: root/include/cru/win/graph/direct/text_layout.hpp
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-08-11 22:08:49 +0800
committer杨宇千 <crupest@outlook.com>2019-08-11 22:08:49 +0800
commit99a322a6badf5b6d95be4944e80d92fc1cb2589e (patch)
tree4227de0cbb1fd73ef99de4bc57041492a0450208 /include/cru/win/graph/direct/text_layout.hpp
parent3a8abe0aed9bb72ed64cbfe9f2f83a0db285e14c (diff)
downloadcru-99a322a6badf5b6d95be4944e80d92fc1cb2589e.tar.gz
cru-99a322a6badf5b6d95be4944e80d92fc1cb2589e.tar.bz2
cru-99a322a6badf5b6d95be4944e80d92fc1cb2589e.zip
...
Diffstat (limited to 'include/cru/win/graph/direct/text_layout.hpp')
-rw-r--r--include/cru/win/graph/direct/text_layout.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cru/win/graph/direct/text_layout.hpp b/include/cru/win/graph/direct/text_layout.hpp
index c7657762..a20591c2 100644
--- a/include/cru/win/graph/direct/text_layout.hpp
+++ b/include/cru/win/graph/direct/text_layout.hpp
@@ -35,8 +35,8 @@ class DWriteTextLayout : public TextLayout,
std::wstring GetText() override;
void SetText(std::wstring new_text) override;
- std::shared_ptr<Font> GetFont();
- void SetFont(std::shared_ptr<Font> font);
+ std::shared_ptr<Font> GetFont() override;
+ void SetFont(std::shared_ptr<Font> font) override;
void SetMaxWidth(float max_width) override;
void SetMaxHeight(float max_height) override;