mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 19:50:05 +00:00
Refactoring fontconfig from Resource Manager to Font Manager
This commit is contained in:
parent
190bd95781
commit
c807188b2b
5 changed files with 206 additions and 183 deletions
|
|
@ -19,7 +19,14 @@ public:
|
|||
explicit FontManager();
|
||||
~FontManager();
|
||||
|
||||
static std::shared_ptr<FontManager> Instance();
|
||||
std::shared_ptr<types::ImGuiFont>
|
||||
GetImGuiFont(const std::string& family,
|
||||
const std::vector<std::string>& styles,
|
||||
units::font_size::points<double> size);
|
||||
|
||||
void LoadApplicationFont(const std::string& filename);
|
||||
|
||||
static FontManager& Instance();
|
||||
|
||||
private:
|
||||
class Impl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue