mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-27 19:01:02 +00:00
Search improvements. Code refactoring so its easier to maintain. Experimental features for speed dial: connect/disconnect from printer.
This commit is contained in:
@@ -106,6 +106,21 @@ protected:
|
||||
void on_dpi_changed(const wxRect& suggested_rect) override;
|
||||
};
|
||||
|
||||
// Calibration wizard identity, shared by MainFrame::run_calibration and the Speed Dial command runners.
|
||||
// Kept in order with the wizard list below.
|
||||
enum class CalibKind : int
|
||||
{
|
||||
Temperature,
|
||||
MaxVolumetric,
|
||||
PressureAdvance,
|
||||
FlowRatio,
|
||||
Retraction,
|
||||
Cornering,
|
||||
InputShapingFreq,
|
||||
InputShapingDamp,
|
||||
VFA
|
||||
};
|
||||
|
||||
class MainFrame : public DPIFrame
|
||||
{
|
||||
#ifdef __APPLE__
|
||||
@@ -349,6 +364,11 @@ public:
|
||||
|
||||
void technology_changed();
|
||||
|
||||
// Opens the calibration wizard for `kind`, reusing the cached member dialogs the Calibration
|
||||
// menu builds (m_*_calib_dlg). Single source of truth for the wizard lifecycle: the Calibration
|
||||
// menu handlers and the Speed Dial native commands both call this. Call while the Prepare (3D)
|
||||
// panel is shown (menu items are gated on is_view3D_shown; the speed dial ensures it first).
|
||||
void run_calibration(CalibKind calib_kind);
|
||||
|
||||
//BBS
|
||||
void load_url(wxString url);
|
||||
|
||||
Reference in New Issue
Block a user