mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:57:45 +00:00
DisplaySettings: Allow setting wallpapers from outside /res/wallpapers
Ideally, we would copy the file to `/res/wallpapers`, add an entry to `ComboBox` model and set the index to this entry. I didn't want to touch anything outside of `DisplaySettings`, so this is more of a workaround :^)
This commit is contained in:
parent
3a4e121904
commit
9f58624802
3 changed files with 14 additions and 5 deletions
|
@ -35,7 +35,7 @@ class MonitorWidget final : public GUI::Widget {
|
|||
public:
|
||||
MonitorWidget();
|
||||
|
||||
void set_wallpaper(String path);
|
||||
bool set_wallpaper(String path);
|
||||
String wallpaper();
|
||||
|
||||
void set_wallpaper_mode(String mode);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue