FIX: update the fan panel

jira: [STUDIO-10499]
Change-Id: I5b760946229ea1cb24802ddddce250cc276986d6
(cherry picked from commit 418370ca5cde3a174ed7a9404413f61a62e214e9)
This commit is contained in:
xin.zhang
2025-02-18 17:07:15 +08:00
committed by Noisyfox
parent 1c14814246
commit ae7438f249
3 changed files with 36 additions and 13 deletions

View File

@@ -64,6 +64,9 @@ public:
void Rescale();
void setFanValue(int val);
void UseTextFan();
void UseTextAirCondition();
private:
void messureSize();
void paintEvent(wxPaintEvent& evt);
@@ -74,6 +77,8 @@ private:
void mouseLeaveWindow(wxMouseEvent& event);
void sendButtonEvent();
void SetText(const wxString &text);
DECLARE_EVENT_TABLE()
private:
@@ -89,6 +94,8 @@ private:
int m_speed;
wxString labels[2];
wxString m_text;
StateColor text_color;
};