1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:27:46 +00:00

LibGUI: Add Desktop::{taskbar,menubar}_height()

This commit is contained in:
Linus Groh 2020-08-13 16:02:59 +02:00 committed by Andreas Kling
parent d979379a99
commit 852770687a

View file

@ -46,6 +46,10 @@ public:
bool set_wallpaper(const StringView& path);
Gfx::IntRect rect() const { return m_rect; }
int taskbar_height() const { return 28; }
int menubar_height() const { return 19; }
void did_receive_screen_rect(Badge<WindowServerConnection>, const Gfx::IntRect&);
Function<void(const Gfx::IntRect&)> on_rect_change;