mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 01:37:53 -06:00
Added selection of custom bed texture to bed shape dialog
This commit is contained in:
parent
75c53a53b6
commit
08d37aad06
10 changed files with 198 additions and 70 deletions
|
@ -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);
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue