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:
SoftFever
2026-04-25 18:14:51 +08:00
committed by GitHub
parent 95e6d8d4fd
commit 82e7ee937f
17 changed files with 338 additions and 399 deletions

View File

@@ -31,6 +31,7 @@
#include "GUI_Utils.hpp"
#include "Widgets/Button.hpp"
class ModeSwitchButton;
class SwitchButton;
class StaticBox;
@@ -85,7 +86,7 @@ class ParamsPanel : public wxPanel
ScalableButton *m_tips_arrow{nullptr};
bool m_tips_arror_blink{false};
ScalableButton* m_mode_icon { nullptr }; // ORCA
SwitchButton* m_mode_view { nullptr };
ModeSwitchButton* m_mode_view { nullptr };
//wxBitmapButton* m_search_button { nullptr };
wxStaticLine* m_staticline_print { nullptr };
//wxBoxSizer* m_print_sizer { nullptr };