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:
parent
d979379a99
commit
852770687a
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue