aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/graphics/cairo/PangoFont.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/platform/graphics/cairo/PangoFont.h')
-rw-r--r--include/cru/platform/graphics/cairo/PangoFont.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/cru/platform/graphics/cairo/PangoFont.h b/include/cru/platform/graphics/cairo/PangoFont.h
index 3014739d..e8dbf3ec 100644
--- a/include/cru/platform/graphics/cairo/PangoFont.h
+++ b/include/cru/platform/graphics/cairo/PangoFont.h
@@ -9,12 +9,12 @@ namespace cru::platform::graphics::cairo {
class CRU_PLATFORM_GRAPHICS_CAIRO_API PangoFont : public CairoResource,
public virtual IFont {
public:
- PangoFont(CairoGraphicsFactory* factory, String font_family, float font_size);
+ PangoFont(CairoGraphicsFactory* factory, std::string font_family, float font_size);
~PangoFont() override;
public:
- String GetFontName() override;
+ std::string GetFontName() override;
float GetFontSize() override;
PangoFontDescription* GetPangoFontDescription() {
@@ -22,7 +22,7 @@ class CRU_PLATFORM_GRAPHICS_CAIRO_API PangoFont : public CairoResource,
}
private:
- String font_family_;
+ std::string font_family_;
float font_size_;
PangoFontDescription* pango_font_description_;
};