Load ImGui fonts on initialization and settings changes

This commit is contained in:
Dan Paulat 2023-10-06 05:49:18 -05:00
parent 67881d31d5
commit 3a4a32b97a
4 changed files with 87 additions and 2 deletions

View file

@ -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();