1
Fork 0
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:
Hüseyin ASLITÜRK 2020-03-29 13:32:06 +03:00 committed by Andreas Kling
parent 7194b4823e
commit adf524015a
5 changed files with 55 additions and 1 deletions

View file

@ -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; }