mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 15:21:21 -06:00

1. first formal version of macos 2. add the bambu networking plugin install logic 3. auto compute the wipe volume when filament change 4. add the logic of wiping into support 5. refine the GUI layout and icons, improve the gui apperance in lots of small places 6. serveral improve to support 7. support AMS auto-mapping 8. disable lots of unstable features: such as params table, media file download, HMS 9. fix serveral kinds of bugs 10. update the document of building 11. ...
58 lines
1.5 KiB
C++
58 lines
1.5 KiB
C++
#ifndef slic3r_GUI_Calibration_hpp_
|
|
#define slic3r_GUI_Calibration_hpp_
|
|
|
|
#include <wx/wx.h>
|
|
#include <wx/intl.h>
|
|
#include <wx/collpane.h>
|
|
#include <wx/dataview.h>
|
|
#include <wx/artprov.h>
|
|
#include <wx/xrc/xmlres.h>
|
|
#include <wx/dataview.h>
|
|
#include <wx/gdicmn.h>
|
|
#include <wx/font.h>
|
|
#include <wx/colour.h>
|
|
#include <wx/settings.h>
|
|
#include <wx/string.h>
|
|
#include <wx/sizer.h>
|
|
#include <wx/stattext.h>
|
|
#include <wx/hyperlink.h>
|
|
#include <wx/button.h>
|
|
#include <wx/dialog.h>
|
|
#include <wx/popupwin.h>
|
|
#include <wx/spinctrl.h>
|
|
#include <wx/artprov.h>
|
|
#include <wx/wrapsizer.h>
|
|
|
|
#include "GUI_Utils.hpp"
|
|
#include "wxExtensions.hpp"
|
|
#include "DeviceManager.hpp"
|
|
#include "Plater.hpp"
|
|
#include "Widgets/Label.hpp"
|
|
#include "Widgets/Button.hpp"
|
|
#include "Widgets/StepCtrl.hpp"
|
|
|
|
namespace Slic3r { namespace GUI {
|
|
|
|
class CalibrationDialog : public DPIDialog
|
|
{
|
|
public:
|
|
CalibrationDialog(Plater *plater = nullptr);
|
|
~CalibrationDialog();
|
|
void on_dpi_changed(const wxRect &suggested_rect) override;
|
|
|
|
StepIndicator *m_calibration_flow;
|
|
Button * m_calibration_btn;
|
|
MachineObject *m_obj;
|
|
|
|
std::vector<int> last_stage_list_info;
|
|
int m_state{0};
|
|
void update_cali(MachineObject *obj);
|
|
bool is_stage_list_info_changed(MachineObject *obj);
|
|
void on_start_calibration(wxMouseEvent &event);
|
|
void update_machine_obj(MachineObject *obj);
|
|
bool Show(bool show) override;
|
|
};
|
|
|
|
}} // namespace Slic3r::GUI
|
|
|
|
#endif
|