NEW: add first layer and spaghetti options

Change-Id: I6e2237a59a2e1fdb3a2f0432be3c7b22db944811
Signed-off-by: Stone Li <stone.li@bambulab.com>
(cherry picked from commit 382652d8da84198bd51caa9d33331b53c5ac6721)
This commit is contained in:
Stone Li 2022-07-27 18:13:40 +08:00 committed by Lane.Wei
parent ad7e4d6de9
commit 506605041e
7 changed files with 312 additions and 5 deletions

View file

@ -17,6 +17,7 @@
#include "MediaPlayCtrl.h"
#include "AMSSetting.hpp"
#include "Calibration.hpp"
#include "PrintOptionsDialog.hpp"
#include "AMSMaterialsSetting.hpp"
#include "Widgets/SwitchButton.hpp"
#include "Widgets/AxisCtrlButton.hpp"
@ -172,6 +173,7 @@ protected:
wxStaticText* m_staticText_calibration_caption;
wxStaticText* m_staticText_calibration_caption_top;
wxStaticText* m_calibration_text;
Button* m_options_btn;
Button* m_calibration_btn;
StepIndicator* m_calibration_flow;
@ -220,6 +222,7 @@ public:
void reset_temp_misc_control();
int before_error_code = 0;
wxBoxSizer *create_ams_group(wxWindow *parent);
wxBoxSizer *create_settings_group(wxWindow *parent);
void show_ams_group(bool show = true);
void upodate_camera_state(bool recording, bool timelapse, bool has_sdcard);
@ -237,7 +240,8 @@ protected:
std::shared_ptr<CameraPopup> m_camera_popup;
std::vector<SliceInfoPanel *> slice_info_list;
AMSSetting *m_ams_setting_dlg{nullptr};
CalibrationDialog* calibration_dlg{nullptr};
PrintOptionsDialog* print_options_dlg { nullptr };
CalibrationDialog* calibration_dlg {nullptr};
AMSMaterialsSetting *m_filament_setting_dlg{nullptr};
wxString m_request_url;
@ -304,6 +308,9 @@ protected:
void on_auto_leveling(wxCommandEvent &event);
void on_xyz_abs(wxCommandEvent &event);
/* print options */
void on_show_print_options(wxCommandEvent &event);
/* calibration */
void on_start_calibration(wxCommandEvent &event);