mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-30 05:17:19 +00:00
Add Expert user mode (#13348)
Add Expert user mode with three-way mode switch. the old ModeButton has been removed. Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -43,6 +43,8 @@
|
||||
#include "Widgets/CheckBox.hpp" // ORCA
|
||||
|
||||
class TabCtrl;
|
||||
class ModeSwitchButton;
|
||||
class SwitchButton;
|
||||
|
||||
namespace Slic3r {
|
||||
|
||||
@@ -162,8 +164,6 @@ protected:
|
||||
wxScrolledWindow* m_page_view {nullptr};
|
||||
//wxBoxSizer* m_page_sizer {nullptr};
|
||||
|
||||
//ModeSizer* m_mode_sizer {nullptr};
|
||||
|
||||
struct PresetDependencies {
|
||||
Preset::Type type = Preset::TYPE_INVALID;
|
||||
::CheckBox* checkbox = nullptr;
|
||||
@@ -303,7 +303,7 @@ public:
|
||||
// 3. propagate changed configuration to the Plater when (m_update_cnt == 0) only
|
||||
int m_update_cnt = 0;
|
||||
|
||||
SwitchButton *m_mode_view = nullptr;
|
||||
ModeSwitchButton *m_mode_view = nullptr;
|
||||
SwitchButton *m_extruder_switch = nullptr;
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user