diff options
Diffstat (limited to 'src/slic3r/GUI/Preferences.hpp')
-rw-r--r-- | src/slic3r/GUI/Preferences.hpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/slic3r/GUI/Preferences.hpp b/src/slic3r/GUI/Preferences.hpp index ab372601c..efb518050 100644 --- a/src/slic3r/GUI/Preferences.hpp +++ b/src/slic3r/GUI/Preferences.hpp @@ -22,7 +22,7 @@ class PreferencesDialog : public DPIDialog std::vector<std::shared_ptr<ConfigOptionsGroup>> m_optgroups_general; std::shared_ptr<ConfigOptionsGroup> m_optgroup_paths; std::shared_ptr<ConfigOptionsGroup> m_optgroup_camera; - std::shared_ptr<ConfigOptionsGroup> m_optgroup_gui; + std::vector<std::shared_ptr<ConfigOptionsGroup>> m_optgroups_gui; #if ENABLE_ENVIRONMENT_MAP std::shared_ptr<ConfigOptionsGroup> m_optgroup_render; #endif // ENABLE_ENVIRONMENT_MAP @@ -47,9 +47,10 @@ public: protected: void on_dpi_changed(const wxRect &suggested_rect) override; void layout(); - void create_icon_size_slider(); - void create_settings_mode_widget(); - std::shared_ptr<ConfigOptionsGroup> create_general_options_group(const wxString& title, wxNotebook* tabs); + void create_icon_size_slider(ConfigOptionsGroup* parent); + void create_settings_mode_widget(wxNotebook* tabs); + std::shared_ptr<ConfigOptionsGroup> create_general_options_group(const wxString& title, wxNotebook* tabs); + std::shared_ptr<ConfigOptionsGroup> create_gui_options_group(const wxString& title, wxNotebook* tabs); }; } // GUI |