mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-09 18:27:00 +00:00
ENH: refine some ui logics with filament map
1. Optimize performance with pop up 2. Optimize display in dark mode jira:NONE Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: Ic0f72a42e791fb58b84e7a88d7a34ced3a9e8c38 (cherry picked from commit 481ebc4a4b9353d8c9ef9d6bf64cb0006364e839)
This commit is contained in:
@@ -18,7 +18,6 @@ public:
|
||||
void tryClose();
|
||||
|
||||
FilamentMapMode GetSelectedMode() const { return m_mode; }
|
||||
|
||||
private:
|
||||
void OnPaint(wxPaintEvent&event);
|
||||
void StartTimer();
|
||||
@@ -29,6 +28,7 @@ private:
|
||||
void OnEnterWindow(wxMouseEvent &);
|
||||
void OnTimer(wxTimerEvent &event);
|
||||
void OnRemindBtn(wxCommandEvent &event);
|
||||
void Dismiss();
|
||||
|
||||
void Init();
|
||||
void UpdateButtonStatus(int hover_idx = -1);
|
||||
@@ -42,6 +42,7 @@ private:
|
||||
FilamentMapMode m_mode;
|
||||
bool m_connected{ false };
|
||||
wxTimer *m_timer;
|
||||
bool m_active{ false };
|
||||
|
||||
std::vector<wxBitmapButton *> radio_btns;
|
||||
std::vector<Label *> button_labels;
|
||||
|
||||
Reference in New Issue
Block a user