mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:47:35 +00:00
Everywhere: Pass AK::StringView by value
This commit is contained in:
parent
ad5d217e76
commit
8b1108e485
392 changed files with 978 additions and 978 deletions
|
@ -25,12 +25,12 @@ public:
|
|||
static Desktop& the();
|
||||
Desktop();
|
||||
|
||||
void set_background_color(const StringView& background_color);
|
||||
void set_background_color(StringView background_color);
|
||||
|
||||
void set_wallpaper_mode(const StringView& mode);
|
||||
void set_wallpaper_mode(StringView mode);
|
||||
|
||||
String wallpaper() const;
|
||||
bool set_wallpaper(const StringView& path, bool save_config = true);
|
||||
bool set_wallpaper(StringView path, bool save_config = true);
|
||||
|
||||
Gfx::IntRect rect() const { return m_bounding_rect; }
|
||||
const Vector<Gfx::IntRect, 4>& rects() const { return m_rects; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue