Update efsw.

Minor improvements in FontFamily.
Added "readonly" keyword in TypeScript.
This commit is contained in:
Martín Lucas Golini
2023-11-11 12:52:33 -03:00
parent e9654631ea
commit a5d7a5114b
4 changed files with 26 additions and 15 deletions

View File

@@ -11,10 +11,11 @@ class EE_API FontFamily {
private:
static std::string findType( const std::string& fontpath, const std::string& fontname,
const std::string& ext, const std::vector<std::string>& names );
const std::string& ext,
const std::vector<std::string_view>& names );
static FontTrueType* setFont( FontTrueType* font, const std::string& fontpath,
const std::string& fontType );
const std::string_view& fontType );
};
}} // namespace EE::Graphics