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:
authorYuSanka <yusanka@gmail.com>2018-10-06 00:29:15 +0300
committerYuSanka <yusanka@gmail.com>2018-10-06 00:29:15 +0300
commitea30385fd0fe85b368c03ec3fb359bf8b75d36d0 (patch)
treeeb1c8ba56fbb30917ad1600de90c6d0894e252e9 /src/slic3r/GUI/MainFrame.hpp
parentbcedd71e999c0ec423291aa46f1215b424549b17 (diff)
Completed split of the GUI_ObjectParts
Diffstat (limited to 'src/slic3r/GUI/MainFrame.hpp')
-rw-r--r--src/slic3r/GUI/MainFrame.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/slic3r/GUI/MainFrame.hpp b/src/slic3r/GUI/MainFrame.hpp
index f4c75de65..4063bd0c4 100644
--- a/src/slic3r/GUI/MainFrame.hpp
+++ b/src/slic3r/GUI/MainFrame.hpp
@@ -36,6 +36,12 @@ enum QuickSlice
qsExportPNG
};
+struct PresetTab {
+ std::string name;
+ Tab* panel;
+ PrinterTechnology technology;
+};
+
class MainFrame : public wxFrame
{
bool m_no_plater;
@@ -64,6 +70,9 @@ class MainFrame : public wxFrame
std::string get_base_name(const wxString full_name) const ;
std::string get_dir_name(const wxString full_name) const ;
+
+ Tab* get_tab(const std::string& name);
+
public:
MainFrame() {}
MainFrame(const bool no_plater, const bool loaded);
@@ -94,6 +103,7 @@ public:
void select_tab(size_t tab) const;
void select_view(const std::string& direction);
+ std::vector<PresetTab>& get_preset_tabs();
Plater* m_plater { nullptr };
wxNotebook* m_tabpanel { nullptr };