diff options
author | YuSanka <yusanka@gmail.com> | 2019-04-14 00:46:52 +0300 |
---|---|---|
committer | YuSanka <yusanka@gmail.com> | 2019-04-14 00:46:52 +0300 |
commit | f7ddddcff58b1c3de8740c70e3c297f2734602f5 (patch) | |
tree | 6b268b6e57b89de8a107720f538ed74149d3c3d2 /src/slic3r/GUI/GUI_ObjectSettings.hpp | |
parent | a74c608c7a8eda5c2b5593db7236a6f89374e7f5 (diff) |
Application Scaling for MSW: Next big step
- Added rescale() function for the most of controls
- Created PrusaBitmap and PrusaButton classes like a wrap to wxBitmap and wxButton accordingly
Diffstat (limited to 'src/slic3r/GUI/GUI_ObjectSettings.hpp')
-rw-r--r-- | src/slic3r/GUI/GUI_ObjectSettings.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/slic3r/GUI/GUI_ObjectSettings.hpp b/src/slic3r/GUI/GUI_ObjectSettings.hpp index 12115e208..17accda18 100644 --- a/src/slic3r/GUI/GUI_ObjectSettings.hpp +++ b/src/slic3r/GUI/GUI_ObjectSettings.hpp @@ -4,6 +4,7 @@ #include <memory> #include <vector> #include <wx/panel.h> +#include "wxExtensions.hpp" class wxBoxSizer; @@ -37,12 +38,15 @@ class ObjectSettings : public OG_Settings // option groups for settings std::vector <std::shared_ptr<ConfigOptionsGroup>> m_og_settings; + PrusaBitmap m_bmp_delete; + public: ObjectSettings(wxWindow* parent); ~ObjectSettings() {} void update_settings_list(); void UpdateAndShow(const bool show) override; + void rescale(); }; }} |