mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:17:35 +00:00
Compositor: Add API to get the color of a pixel
This just returns the color of a given pixel position from the front bitmap of the corresponding screen.
This commit is contained in:
parent
04ba31b8c5
commit
3da4fdd0eb
2 changed files with 6 additions and 0 deletions
|
@ -176,6 +176,7 @@ public:
|
|||
|
||||
const Gfx::Bitmap* cursor_bitmap_for_screenshot(Badge<ClientConnection>, Screen&) const;
|
||||
const Gfx::Bitmap& front_bitmap_for_screenshot(Badge<ClientConnection>, Screen&) const;
|
||||
Gfx::Color color_at_position(Badge<ClientConnection>, Screen&, Gfx::IntPoint const&) const;
|
||||
|
||||
void register_animation(Badge<Animation>, Animation&);
|
||||
void unregister_animation(Badge<Animation>, Animation&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue