aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/graph/Factory.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/platform/graph/Factory.hpp')
-rw-r--r--include/cru/platform/graph/Factory.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cru/platform/graph/Factory.hpp b/include/cru/platform/graph/Factory.hpp
index 0a425d15..b4e68f12 100644
--- a/include/cru/platform/graph/Factory.hpp
+++ b/include/cru/platform/graph/Factory.hpp
@@ -16,10 +16,10 @@ struct IGraphFactory : virtual INativeResource {
virtual std::unique_ptr<IGeometryBuilder> CreateGeometryBuilder() = 0;
- virtual std::unique_ptr<IFont> CreateFont(const std::string_view& font_family,
+ virtual std::unique_ptr<IFont> CreateFont(std::u16string font_family,
float font_size) = 0;
virtual std::unique_ptr<ITextLayout> CreateTextLayout(
- std::shared_ptr<IFont> font, std::string text) = 0;
+ std::shared_ptr<IFont> font, std::u16string text) = 0;
};
} // namespace cru::platform::graph