mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 16:07:45 +00:00
WindowServer: Add methods for set background color and wallpaper mode
This commit is contained in:
parent
7194b4823e
commit
adf524015a
5 changed files with 55 additions and 1 deletions
|
@ -55,6 +55,10 @@ public:
|
|||
|
||||
bool set_resolution(int desired_width, int desired_height);
|
||||
|
||||
bool set_backgound_color(const String& background_color);
|
||||
|
||||
bool set_wallpaper_mode(const String& mode);
|
||||
|
||||
bool set_wallpaper(const String& path, Function<void(bool)>&& callback);
|
||||
String wallpaper_path() const { return m_wallpaper_path; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue