mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-11-01 07:00:04 +00:00
Use fonts defined by text settings for rendering
This commit is contained in:
parent
e37e64b3f2
commit
11ea4676cf
5 changed files with 47 additions and 79 deletions
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include <shared_mutex>
|
||||
|
||||
#include <QFont>
|
||||
#include <QObject>
|
||||
|
||||
namespace scwx
|
||||
|
|
@ -37,6 +38,8 @@ public:
|
|||
void LoadApplicationFont(const std::string& filename);
|
||||
void InitializeFonts();
|
||||
|
||||
static QFont GetQFont(types::FontCategory fontCategory);
|
||||
|
||||
static FontManager& Instance();
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue