mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:37:34 +00:00
WindowServer, LibGUI: RefreshSystemTheme implementation
Adds a mechanism through which windowing clients can re-request an UpdateSystemTheme message. This is currently used in SystemMenu's ShutdownDialog to refresh it's theme when the dialog is instantiated.
This commit is contained in:
parent
fdc9b3c5a0
commit
fcf50af53d
5 changed files with 15 additions and 0 deletions
|
@ -181,6 +181,8 @@ public:
|
|||
|
||||
void schedule_relayout();
|
||||
|
||||
void refresh_system_theme();
|
||||
|
||||
static void for_each_window(Badge<WindowServerConnection>, Function<void(Window&)>);
|
||||
static void update_all_windows(Badge<WindowServerConnection>);
|
||||
void notify_state_changed(Badge<WindowServerConnection>, bool minimized, bool occluded);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue