mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:07:34 +00:00
PixelPaint: Allow partial invalidation of Layer and Image
Let's give ourselves the tools needed to update less than the entire image every time we paint. This patch adds plumbing so that Layer invalidations have a modified rect that gets passed on to Image, and then on to ImageEditor.
This commit is contained in:
parent
b7e551b164
commit
f7053059c9
6 changed files with 14 additions and 13 deletions
|
@ -87,7 +87,7 @@ private:
|
|||
virtual void context_menu_event(GUI::ContextMenuEvent&) override;
|
||||
virtual void resize_event(GUI::ResizeEvent&) override;
|
||||
|
||||
virtual void image_did_change() override;
|
||||
virtual void image_did_change(Gfx::IntRect const&) override;
|
||||
virtual void image_select_layer(Layer*) override;
|
||||
virtual void image_did_change_title(String const&) override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue