First experiment to fix layouts on hdpi

This commit is contained in:
YuSanka 2019-01-31 15:55:09 +01:00
parent 1605c23e25
commit ba6206ab62
5 changed files with 15 additions and 4 deletions

View file

@ -80,6 +80,8 @@ class GUI_App : public wxApp
wxFont m_small_font;
wxFont m_bold_font;
size_t m_width_unit;
wxLocale* m_wxLocale{ nullptr };
#if ENABLE_IMGUI
@ -106,6 +108,8 @@ public:
const wxFont& small_font() { return m_small_font; }
const wxFont& bold_font() { return m_bold_font; }
size_t width_unit() const { return m_width_unit; }
void set_width_unit(const size_t width_unit) { m_width_unit = width_unit; }
void recreate_GUI();
void system_info();