diff options
author | crupest <crupest@outlook.com> | 2022-03-10 18:03:49 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-03-10 18:03:49 +0800 |
commit | 1cf1002f1d3cd81ddb920eb7196a067b566f11e2 (patch) | |
tree | 8a299d16f0f5074d876175a602190f477bd498ea /include/cru/osx | |
parent | 51f87e3ff980e62f9cb5ee656e5591412e2766eb (diff) | |
download | cru-1cf1002f1d3cd81ddb920eb7196a067b566f11e2.tar.gz cru-1cf1002f1d3cd81ddb920eb7196a067b566f11e2.tar.bz2 cru-1cf1002f1d3cd81ddb920eb7196a067b566f11e2.zip |
...
Diffstat (limited to 'include/cru/osx')
-rw-r--r-- | include/cru/osx/graphics/quartz/Font.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cru/osx/graphics/quartz/Font.h b/include/cru/osx/graphics/quartz/Font.h index d53c6a20..50703dfe 100644 --- a/include/cru/osx/graphics/quartz/Font.h +++ b/include/cru/osx/graphics/quartz/Font.h @@ -17,9 +17,11 @@ class OsxCTFont : public OsxQuartzResource, public virtual IFont { CTFontRef GetCTFont() const { return ct_font_; } + String GetFontName() override; float GetFontSize() override; private: + String name_; CTFontRef ct_font_; }; } // namespace cru::platform::graphics::osx::quartz |