mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 03:08:13 +00:00
LibGUI+WindowServer: Allow applets to retrieve their location
MenuApplet windows can now call rect_in_menubar to return their location in the MenuBar.
This commit is contained in:
parent
030f4150b8
commit
c50f258b7a
5 changed files with 21 additions and 0 deletions
|
@ -56,6 +56,8 @@ endpoint WindowServer = 2
|
|||
SetWindowRect(i32 window_id, Gfx::IntRect rect) => (Gfx::IntRect rect)
|
||||
GetWindowRect(i32 window_id) => (Gfx::IntRect rect)
|
||||
|
||||
GetWindowRectInMenubar(i32 window_id) => (Gfx::IntRect rect)
|
||||
|
||||
IsMaximized(i32 window_id) => (bool maximized)
|
||||
|
||||
InvalidateRect(i32 window_id, Vector<Gfx::IntRect> rects, bool ignore_occlusion) =|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue