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:
authorVojtech Kral <vojtech@kral.hk>2019-09-17 16:52:26 +0300
committerVojtech Kral <vojtech@kral.hk>2019-09-17 16:52:26 +0300
commitcb1ee5ce5542bc96a8babdb45ed3264bbb2a0855 (patch)
tree4d9015e2cc052c1556602643753710ea5af891b0 /src/slic3r/GUI/ConfigWizard_private.hpp
parentc5a67ff931f78adb78ed853756ba46c8d9da0fd4 (diff)
ConfigWizard: Add view mode setting page
Diffstat (limited to 'src/slic3r/GUI/ConfigWizard_private.hpp')
-rw-r--r--src/slic3r/GUI/ConfigWizard_private.hpp17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/slic3r/GUI/ConfigWizard_private.hpp b/src/slic3r/GUI/ConfigWizard_private.hpp
index 0d2123695..6c94d3700 100644
--- a/src/slic3r/GUI/ConfigWizard_private.hpp
+++ b/src/slic3r/GUI/ConfigWizard_private.hpp
@@ -17,6 +17,7 @@
#include <wx/textctrl.h>
#include <wx/listbox.h>
#include <wx/checklst.h>
+#include <wx/radiobut.h>
#include "libslic3r/PrintConfig.hpp"
#include "slic3r/Utils/PresetUpdater.hpp"
@@ -290,6 +291,19 @@ struct PageUpdate: ConfigWizardPage
PageUpdate(ConfigWizard *parent);
};
+struct PageMode: ConfigWizardPage
+{
+ wxRadioButton *radio_simple;
+ wxRadioButton *radio_advanced;
+ wxRadioButton *radio_expert;
+
+ PageMode(ConfigWizard *parent);
+
+ void serialize_mode(AppConfig *app_config) const;
+
+ virtual void on_activate();
+};
+
struct PageVendors: ConfigWizardPage
{
PageVendors(ConfigWizard *parent);
@@ -424,7 +438,8 @@ struct ConfigWizard::priv
PageMaterials *page_sla_materials = nullptr;
PageCustom *page_custom = nullptr;
PageUpdate *page_update = nullptr;
- PageVendors *page_vendors = nullptr; // XXX: ?
+ PageMode *page_mode = nullptr;
+ PageVendors *page_vendors = nullptr;
Pages3rdparty pages_3rdparty;
// Custom setup pages