mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 20:20:06 +00:00
Load ImGui fonts on initialization and settings changes
This commit is contained in:
parent
67881d31d5
commit
3a4a32b97a
4 changed files with 87 additions and 2 deletions
|
|
@ -17,6 +17,7 @@ namespace manager
|
|||
class FontManager : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY_MOVE(FontManager)
|
||||
|
||||
public:
|
||||
explicit FontManager();
|
||||
|
|
@ -34,6 +35,7 @@ public:
|
|||
bool loadIfNotFound = true);
|
||||
|
||||
void LoadApplicationFont(const std::string& filename);
|
||||
void InitializeFonts();
|
||||
|
||||
static FontManager& Instance();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue