diff options
Diffstat (limited to 'include/cru/platform/graphics/quartz/Font.h')
-rw-r--r-- | include/cru/platform/graphics/quartz/Font.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/cru/platform/graphics/quartz/Font.h b/include/cru/platform/graphics/quartz/Font.h index 975607b9..d110b59b 100644 --- a/include/cru/platform/graphics/quartz/Font.h +++ b/include/cru/platform/graphics/quartz/Font.h @@ -8,7 +8,7 @@ namespace cru::platform::graphics::quartz { class OsxCTFont : public OsxQuartzResource, public virtual IFont { public: - OsxCTFont(IGraphicsFactory* graphics_factory, const String& name, float size); + OsxCTFont(IGraphicsFactory* graphics_factory, const std::string& name, float size); CRU_DELETE_COPY(OsxCTFont) CRU_DELETE_MOVE(OsxCTFont) @@ -17,11 +17,11 @@ class OsxCTFont : public OsxQuartzResource, public virtual IFont { CTFontRef GetCTFont() const { return ct_font_; } - String GetFontName() override; + std::string GetFontName() override; float GetFontSize() override; private: - String name_; + std::string name_; CTFontRef ct_font_; }; } // namespace cru::platform::graphics::quartz |