diff options
author | Vojtech Kral <vojtech@kral.hk> | 2019-08-02 17:15:27 +0300 |
---|---|---|
committer | Vojtech Kral <vojtech@kral.hk> | 2019-09-17 14:20:06 +0300 |
commit | 270008a3fd7bade37d5cd26e1c219fa26cc42738 (patch) | |
tree | 38f161084117f5765ebeb17d71fc669204547f64 /src/slic3r/GUI/ConfigWizard_private.hpp | |
parent | 235b659cf97211f0b80c47008d8458b9173a3a40 (diff) |
Add material_type config option for SLA materials, use in Wizard
Diffstat (limited to 'src/slic3r/GUI/ConfigWizard_private.hpp')
-rw-r--r-- | src/slic3r/GUI/ConfigWizard_private.hpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/slic3r/GUI/ConfigWizard_private.hpp b/src/slic3r/GUI/ConfigWizard_private.hpp index e6f389785..708eb94fc 100644 --- a/src/slic3r/GUI/ConfigWizard_private.hpp +++ b/src/slic3r/GUI/ConfigWizard_private.hpp @@ -96,7 +96,7 @@ struct Bundle const std::string& vendor_id() const { return vendor_profile->id; } }; -struct BundleMap: std::unordered_map<std::string, Bundle> +struct BundleMap: std::unordered_map<std::string /* = vendor ID */, Bundle> { static BundleMap load(); @@ -277,11 +277,7 @@ struct PageUpdate: ConfigWizardPage struct PageVendors: ConfigWizardPage { - // std::vector<PrinterPicker*> pickers; - PageVendors(ConfigWizard *parent); - - // void on_vendor_pick(size_t i); }; struct PageFirmware: ConfigWizardPage @@ -319,6 +315,8 @@ struct PageTemperatures: ConfigWizardPage virtual void apply_custom_config(DynamicPrintConfig &config); }; +typedef std::map<std::string /* = vendor ID */, PagePrinters*> Pages3rdparty; + class ConfigWizardIndex: public wxPanel { @@ -412,7 +410,7 @@ struct ConfigWizard::priv PageCustom *page_custom = nullptr; PageUpdate *page_update = nullptr; PageVendors *page_vendors = nullptr; // XXX: ? - std::map<std::string, PagePrinters*> pages_3rdparty; + Pages3rdparty pages_3rdparty; // Custom setup pages PageFirmware *page_firmware = nullptr; |