1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 03:17:34 +00:00

WindowServer: Allow overriding position when getting bitmap

This commit is contained in:
FrHun 2022-12-04 19:16:09 +01:00 committed by Sam Atkins
parent d856dae07c
commit 6d4e37138e
3 changed files with 9 additions and 4 deletions

View file

@ -168,6 +168,7 @@ endpoint WindowServer
get_screen_bitmap(Optional<Gfx::IntRect> rect, Optional<u32> screen_index) => (Gfx::ShareableBitmap bitmap)
get_screen_bitmap_around_cursor(Gfx::IntSize size) => (Gfx::ShareableBitmap bitmap)
get_screen_bitmap_around_location(Gfx::IntSize size, Gfx::IntPoint location) => (Gfx::ShareableBitmap bitmap)
get_color_under_cursor() => (Optional<Gfx::Color> color)
pong() =|