mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 09:58:14 +00:00
Libraries: Create top level directory for libraries.
Things were getting a little crowded in the project root, so this patch moves the Lib*/ directories into Libraries/.
This commit is contained in:
parent
63814ffebf
commit
04b9dc2d30
328 changed files with 36 additions and 36 deletions
25
Libraries/LibGUI/GDesktop.h
Normal file
25
Libraries/LibGUI/GDesktop.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/AKString.h>
|
||||
#include <AK/Badge.h>
|
||||
#include <AK/Function.h>
|
||||
#include <SharedGraphics/Rect.h>
|
||||
|
||||
class GEventLoop;
|
||||
|
||||
class GDesktop {
|
||||
public:
|
||||
static GDesktop& the();
|
||||
GDesktop();
|
||||
|
||||
String wallpaper() const;
|
||||
bool set_wallpaper(const StringView& path);
|
||||
|
||||
Rect rect() const { return m_rect; }
|
||||
void did_receive_screen_rect(Badge<GEventLoop>, const Rect&);
|
||||
|
||||
Function<void(const Rect&)> on_rect_change;
|
||||
|
||||
private:
|
||||
Rect m_rect;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue