diff options
author | Lukas Matena <lukasmatena@seznam.cz> | 2019-03-06 11:15:33 +0300 |
---|---|---|
committer | Lukas Matena <lukasmatena@seznam.cz> | 2019-03-06 12:11:02 +0300 |
commit | 79fbf0840904f00f4915919bd7642bf5e60b0ad8 (patch) | |
tree | cec3d545ebb403f3cbe5ae5ab1954b2a23b7ecfa /src/slic3r/GUI/ImGuiWrapper.hpp | |
parent | f147f192b4cb4d641538741c773d0ef3187fdd8c (diff) |
An attempt to fix sla gizmo imgui dialog scaling on osx and hidpi screens
Diffstat (limited to 'src/slic3r/GUI/ImGuiWrapper.hpp')
-rw-r--r-- | src/slic3r/GUI/ImGuiWrapper.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/slic3r/GUI/ImGuiWrapper.hpp b/src/slic3r/GUI/ImGuiWrapper.hpp index 019bb610e..35d0b5636 100644 --- a/src/slic3r/GUI/ImGuiWrapper.hpp +++ b/src/slic3r/GUI/ImGuiWrapper.hpp @@ -42,6 +42,8 @@ public: bool update_mouse_data(wxMouseEvent &evt); bool update_key_data(wxKeyEvent &evt); + float get_style_scaling() const { return m_style_scaling; } + void new_frame(); void render(); |