mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-26 10:11:10 -06:00
MSW_DarkMode: Next Improvements
* Refreshed title bar for all Dialogs and MainFrame * Refreshed header of the DataViewCtrl and ListView * Refresh tooltips * Redraw SpinCtrls * Use system menu with is colored in respect to the color mode * Preferences: Added parameter "Use system menu for application" and moved to the "Dark mode" tab with "Enable Dark mode parameter"
This commit is contained in:
parent
7520e2f193
commit
aff9e1f7ea
10 changed files with 123 additions and 33 deletions
|
|
@ -138,6 +138,8 @@ public:
|
|||
void sort_options_by_label() { sort_options(); }
|
||||
|
||||
void show_dialog();
|
||||
void dlg_sys_color_changed();
|
||||
void dlg_msw_rescale();
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -180,9 +182,11 @@ public:
|
|||
void Popup(wxPoint position = wxDefaultPosition);
|
||||
void ProcessSelection(wxDataViewItem selection);
|
||||
|
||||
protected:
|
||||
void on_dpi_changed(const wxRect& suggested_rect) override;
|
||||
void msw_rescale();
|
||||
void on_sys_color_changed() override;
|
||||
|
||||
protected:
|
||||
void on_dpi_changed(const wxRect& suggested_rect) override { msw_rescale(); }
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue