mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:07:36 +00:00
WindowServer: Allow temporarily overriding the system theme
This patch adds a new api to override the current system theme with an in memory override theme.
This commit is contained in:
parent
278fd28502
commit
976b6156d4
5 changed files with 66 additions and 0 deletions
|
@ -129,6 +129,11 @@ endpoint WindowServer
|
|||
get_system_theme() => ([UTF8] String theme_name)
|
||||
refresh_system_theme() =|
|
||||
|
||||
set_system_theme_override(Core::AnonymousBuffer buffer) => (bool success)
|
||||
get_system_theme_override() => (Optional<Core::AnonymousBuffer> buffer)
|
||||
clear_system_theme_override() =|
|
||||
is_system_theme_overridden() => (bool overridden)
|
||||
|
||||
apply_cursor_theme(String name) =|
|
||||
get_cursor_theme() => (String name)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue