diff options
author | crupest <crupest@outlook.com> | 2022-01-12 02:30:25 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-01-12 02:30:25 +0800 |
commit | 882d843083895f4905571dc273e801ee18fd5984 (patch) | |
tree | 163890b8ccb64b8eff28af558ac803affe392488 /src/win/graphics/direct/Font.cpp | |
parent | 01f98ce88950cdb729f5db58bf26f2fffa1c326c (diff) | |
download | cru-882d843083895f4905571dc273e801ee18fd5984.tar.gz cru-882d843083895f4905571dc273e801ee18fd5984.tar.bz2 cru-882d843083895f4905571dc273e801ee18fd5984.zip |
...
Diffstat (limited to 'src/win/graphics/direct/Font.cpp')
-rw-r--r-- | src/win/graphics/direct/Font.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/win/graphics/direct/Font.cpp b/src/win/graphics/direct/Font.cpp index 1d6a5c88..413c998b 100644 --- a/src/win/graphics/direct/Font.cpp +++ b/src/win/graphics/direct/Font.cpp @@ -7,9 +7,9 @@ #include <utility> namespace cru::platform::graphics::win::direct { -DWriteFont::DWriteFont(DirectGraphFactory* factory, std::u16string font_family, +DWriteFont::DWriteFont(DirectGraphicsFactory* factory, String font_family, float font_size) - : DirectGraphResource(factory), font_family_(std::move(font_family)) { + : DirectGraphicsResource(factory), font_family_(std::move(font_family)) { // Get locale std::array<wchar_t, LOCALE_NAME_MAX_LENGTH> buffer; if (!::GetUserDefaultLocaleName(buffer.data(), |