ENH: optimize the auto-calc button position

Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: I8e7be08048305b5e519400e2b35a0ebaf0f21ba7
This commit is contained in:
yifan.wu 2022-12-12 17:01:29 +08:00 committed by Lane.Wei
parent ebec542112
commit 5c9c72ee72
2 changed files with 33 additions and 26 deletions

View file

@ -7,9 +7,12 @@
#include <wx/checkbox.h>
#include <wx/msgdlg.h>
class Button;
class WipingPanel : public wxPanel {
public:
WipingPanel(wxWindow* parent, const std::vector<float>& matrix, const std::vector<float>& extruders, const std::vector<std::string>& extruder_colours, wxButton* widget_button,
// BBS
WipingPanel(wxWindow* parent, const std::vector<float>& matrix, const std::vector<float>& extruders, const std::vector<std::string>& extruder_colours, Button* calc_button,
int extra_flush_volume, float flush_multiplier);
std::vector<float> read_matrix_values();
std::vector<float> read_extruders_values();