mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
imgui: Refactor font size, font initialization
This commit is contained in:
parent
32a49d1468
commit
88cc93cdc9
4 changed files with 48 additions and 41 deletions
|
@ -81,7 +81,7 @@ IMPLEMENT_APP(GUI_App)
|
|||
GUI_App::GUI_App()
|
||||
: wxApp()
|
||||
, m_em_unit(10)
|
||||
, m_imgui(nullptr)
|
||||
, m_imgui(new ImGuiWrapper())
|
||||
{}
|
||||
|
||||
bool GUI_App::OnInit()
|
||||
|
@ -138,7 +138,6 @@ bool GUI_App::OnInit()
|
|||
// initialize label colors and fonts
|
||||
init_label_colours();
|
||||
init_fonts();
|
||||
m_imgui.reset(new ImGuiWrapper(m_normal_font.GetPixelSize().y));
|
||||
|
||||
load_language();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue