mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 17:58:03 -06:00
NEW: add calibration wiki pages
Change-Id: Ib931b187e0e6629fe387a8b25bc8b9adc964de86 Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
parent
8c97f1b2b4
commit
c04979495b
5 changed files with 47 additions and 32 deletions
|
@ -14,16 +14,10 @@ namespace Slic3r { namespace GUI {
|
|||
#define SELECT_MACHINE_REMIND wxColour(255,111,0)
|
||||
#define SELECT_MACHINE_LIGHT_GREEN wxColour(219, 253, 231)
|
||||
|
||||
enum class CalibrationType {
|
||||
CALI_TYPE_PA = 0,
|
||||
CALI_TYPE_FLOW,
|
||||
CALI_TYPE_VOLUMETRIC,
|
||||
CALI_TYPE_TEMPERATURE,
|
||||
CALI_TYPE_RETRACTION,
|
||||
CALI_MAX_COUNT,
|
||||
};
|
||||
#define CALI_MODE_COUNT 5
|
||||
|
||||
wxString get_calibration_type_name(CalibrationType cali_type);
|
||||
|
||||
wxString get_calibration_type_name(CalibMode cali_mode);
|
||||
|
||||
class MObjectPanel : public wxPanel
|
||||
{
|
||||
|
@ -125,7 +119,7 @@ private:
|
|||
Tabbook* m_tabpanel{ nullptr };
|
||||
SelectMObjectPopup m_mobjectlist_popup;
|
||||
|
||||
CalibrationWizard* m_cali_panels[(int)CalibrationType::CALI_MAX_COUNT];
|
||||
CalibrationWizard* m_cali_panels[CALI_MODE_COUNT];
|
||||
|
||||
wxTimer* m_refresh_timer = nullptr;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue