mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 15:10:06 +00:00
Fix QFont styling
This commit is contained in:
parent
8326b2f2bf
commit
73adeda604
3 changed files with 40 additions and 19 deletions
|
|
@ -30,7 +30,8 @@ public:
|
|||
|
||||
int GetFontId(types::Font font) const;
|
||||
std::shared_ptr<types::ImGuiFont>
|
||||
GetImGuiFont(types::FontCategory fontCategory);
|
||||
GetImGuiFont(types::FontCategory fontCategory);
|
||||
QFont GetQFont(types::FontCategory fontCategory);
|
||||
std::shared_ptr<types::ImGuiFont>
|
||||
LoadImGuiFont(const std::string& family,
|
||||
const std::vector<std::string>& styles,
|
||||
|
|
@ -40,8 +41,6 @@ public:
|
|||
void LoadApplicationFont(types::Font font, 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