Fix QFont styling

This commit is contained in:
Dan Paulat 2023-10-10 19:18:20 -05:00
parent 8326b2f2bf
commit 73adeda604
3 changed files with 40 additions and 19 deletions

View file

@ -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: