mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-04 05:00:39 +08:00
Make update_bed_size() public.
This commit is contained in:
parent
e880d9d3ee
commit
2a01efbf81
@ -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);
|
||||
|
||||
|
||||
/// 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 {};
|
||||
private:
|
||||
std::vector<PlaterObject>& objects; //< reference to parent vector
|
||||
@ -81,8 +83,6 @@ private:
|
||||
/// For a specific point, unscale it relative to the origin
|
||||
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.
|
||||
wxRealPoint bed_origin {};
|
||||
|
Loading…
x
Reference in New Issue
Block a user