mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:57:44 +00:00
WindowServer: Add Optional<Gfx::IntRect> argument to get_screen_bitmap()
This way, we can optionally specify a region of the display to capture. Defaults to entire screen if no rectangle is given.
This commit is contained in:
parent
cb74f7992a
commit
4864ef9440
4 changed files with 10 additions and 4 deletions
|
@ -120,7 +120,7 @@ endpoint WindowServer
|
|||
set_scroll_step_size(u32 step_size) => ()
|
||||
get_scroll_step_size() => (u32 step_size)
|
||||
|
||||
get_screen_bitmap() => (Gfx::ShareableBitmap bitmap)
|
||||
get_screen_bitmap(Optional<Gfx::IntRect> rect) => (Gfx::ShareableBitmap bitmap)
|
||||
|
||||
pong() =|
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue