mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:48:10 +00:00
LibGUI: Put all classes in the GUI namespace and remove the leading G
This took me a moment. Welcome to the new world of GUI::Widget! :^)
This commit is contained in:
parent
2d39da5405
commit
c5bd9d4ed1
337 changed files with 5400 additions and 4816 deletions
|
@ -31,21 +31,25 @@
|
|||
#include <AK/String.h>
|
||||
#include <LibDraw/Rect.h>
|
||||
|
||||
class GWindowServerConnection;
|
||||
namespace GUI {
|
||||
|
||||
class GDesktop {
|
||||
class WindowServerConnection;
|
||||
|
||||
class Desktop {
|
||||
public:
|
||||
static GDesktop& the();
|
||||
GDesktop();
|
||||
static Desktop& the();
|
||||
Desktop();
|
||||
|
||||
String wallpaper() const;
|
||||
bool set_wallpaper(const StringView& path);
|
||||
|
||||
Rect rect() const { return m_rect; }
|
||||
void did_receive_screen_rect(Badge<GWindowServerConnection>, const Rect&);
|
||||
void did_receive_screen_rect(Badge<WindowServerConnection>, const Rect&);
|
||||
|
||||
Function<void(const Rect&)> on_rect_change;
|
||||
|
||||
private:
|
||||
Rect m_rect;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue