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-18 12:12:11 +0300
committerEnrico Turri <enricoturri@seznam.cz>2019-07-18 12:12:11 +0300
commit08d37aad06ab8dea223ff5e7c588ae7bca74ef6e (patch)
treef75a4f8470654a287a3dff0036b986c6f4496d93 /src/slic3r/GUI/2DBed.hpp
parent75c53a53b653427de63f9b5f24637895c0562a01 (diff)
Added selection of custom bed texture to bed shape dialog
Diffstat (limited to 'src/slic3r/GUI/2DBed.hpp')
-rw-r--r--src/slic3r/GUI/2DBed.hpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/slic3r/GUI/2DBed.hpp b/src/slic3r/GUI/2DBed.hpp
index a61fb313d..80926bea7 100644
--- a/src/slic3r/GUI/2DBed.hpp
+++ b/src/slic3r/GUI/2DBed.hpp
@@ -17,16 +17,13 @@ class Bed_2D : public wxPanel
Vec2d m_shift = Vec2d::Zero();
Vec2d m_pos = Vec2d::Zero();
- Point to_pixels(Vec2d point, int height);
- void repaint();
- void set_pos(Vec2d pos);
+ Point to_pixels(const Vec2d& point, int height);
+ void set_pos(const Vec2d& pos);
public:
- Bed_2D(wxWindow* parent);
- ~Bed_2D() {}
+ explicit Bed_2D(wxWindow* parent);
- std::vector<Vec2d> m_bed_shape;
-
+ void repaint(const std::vector<Vec2d>& shape);
};