Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/slic3r/GUI/Preferences.hpp')
-rw-r--r--src/slic3r/GUI/Preferences.hpp9
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