FIX: try to reduce page fault while idling

jira: [none]
Change-Id: I563cbf4a8ba8a4ae1e5b1b1f735753d3aef23e16
(cherry picked from commit ed1e9678c351dc037f2e3cc7ea0e19d46731699c)
This commit is contained in:
xin.zhang
2025-02-08 14:47:28 +08:00
committed by Noisyfox
parent ad740bde86
commit 319e93ba4d
7 changed files with 36 additions and 20 deletions

View File

@@ -289,6 +289,7 @@ public:
void update_progress_percent(wxString percent, wxString icon);
void update_left_time(wxString time);
void update_left_time(int mc_left_time);
void show_layers_num(bool show) { m_staticText_layers->Show(show); }
void update_layers_num(bool show, wxString num = wxEmptyString);
void show_priting_use_info(bool show, wxString time = wxEmptyString, wxString weight = wxEmptyString);
void show_profile_info(bool show, wxString profile = wxEmptyString);