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:
authorEnrico Turri <enricoturri@seznam.cz>2019-07-09 14:33:15 +0300
committerEnrico Turri <enricoturri@seznam.cz>2019-07-09 14:33:15 +0300
commite8461f65dfba5741932c1ae0cc0a6e6946ec01cd (patch)
treee1490c9b1f69200b39acc38208feda9ff03d6ed1 /src/slic3r/GUI/BedShapeDialog.hpp
parent36049788acc8ae888d4e8df65f89b6708c2455bb (diff)
Refactoring in class BedShapePanel
Diffstat (limited to 'src/slic3r/GUI/BedShapeDialog.hpp')
-rw-r--r--src/slic3r/GUI/BedShapeDialog.hpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/slic3r/GUI/BedShapeDialog.hpp b/src/slic3r/GUI/BedShapeDialog.hpp
index 6600a1c84..d2c67a7c7 100644
--- a/src/slic3r/GUI/BedShapeDialog.hpp
+++ b/src/slic3r/GUI/BedShapeDialog.hpp
@@ -25,18 +25,20 @@ public:
void build_panel(ConfigOptionPoints* default_pt);
+ // Returns the resulting bed shape polygon. This value will be stored to the ini file.
+ std::vector<Vec2d> GetValue() { return m_canvas->m_bed_shape; }
+
+private:
ConfigOptionsGroupShp init_shape_options_page(const wxString& title);
void set_shape(ConfigOptionPoints* points);
void update_preview();
void update_shape();
void load_stl();
- // Returns the resulting bed shape polygon. This value will be stored to the ini file.
- std::vector<Vec2d> GetValue() { return m_canvas->m_bed_shape; }
-
wxChoicebook* m_shape_options_book;
std::vector <ConfigOptionsGroupShp> m_optgroups;
+ friend class BedShapeDialog;
};
class BedShapeDialog : public DPIDialog