mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
Add the full source of BambuStudio
using version 1.0.10
This commit is contained in:
parent
30bcadab3e
commit
1555904bef
3771 changed files with 1251328 additions and 0 deletions
57
src/slic3r/GUI/Calibration.hpp
Normal file
57
src/slic3r/GUI/Calibration.hpp
Normal file
|
@ -0,0 +1,57 @@
|
|||
#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);
|
||||
};
|
||||
|
||||
}} // namespace Slic3r::GUI
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue