mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-04 23:20:46 +08:00
Make update_bed_size() public.
This commit is contained in:
parent
ae10bc70b5
commit
62f7760198
@ -34,6 +34,8 @@ public:
|
|||||||
Plate2D(wxWindow* parent, const wxSize& size, std::vector<PlaterObject>& _objects, std::shared_ptr<Model> _model, std::shared_ptr<Config> _config, std::shared_ptr<Settings> _settings);
|
Plate2D(wxWindow* parent, const wxSize& size, std::vector<PlaterObject>& _objects, std::shared_ptr<Model> _model, std::shared_ptr<Config> _config, std::shared_ptr<Settings> _settings);
|
||||||
|
|
||||||
|
|
||||||
|
/// Read print bed size from config and calculate the scaled rendition of the bed given the draw canvas.
|
||||||
|
void update_bed_size();
|
||||||
// std::function<> on_select_object {};
|
// std::function<> on_select_object {};
|
||||||
private:
|
private:
|
||||||
std::vector<PlaterObject>& objects; //< reference to parent vector
|
std::vector<PlaterObject>& objects; //< reference to parent vector
|
||||||
@ -81,8 +83,6 @@ private:
|
|||||||
/// For a specific point, unscale it relative to the origin
|
/// For a specific point, unscale it relative to the origin
|
||||||
wxPoint unscaled_point_to_pixel(const wxPoint& in);
|
wxPoint unscaled_point_to_pixel(const wxPoint& in);
|
||||||
|
|
||||||
/// Read print bed size from config and calculate the scaled rendition of the bed given the draw canvas.
|
|
||||||
void update_bed_size();
|
|
||||||
|
|
||||||
/// private class variables to stash bits for drawing the print bed area.
|
/// private class variables to stash bits for drawing the print bed area.
|
||||||
wxRealPoint bed_origin {};
|
wxRealPoint bed_origin {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user