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
Notes: sideshowbarker 2024-07-19 03:41:02 +09:00

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;