mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:57:46 +00:00
PixelPaint: Only update the layer thumbnail on layer bitmap changes
When a layer bitmap is modified, we don't have to repaint the whole layer gadget in the layer list, only the little thumbnail. :^)
This commit is contained in:
parent
285f0383d4
commit
fd898be51a
4 changed files with 16 additions and 5 deletions
|
@ -26,7 +26,8 @@ class ImageClient {
|
|||
public:
|
||||
virtual void image_did_add_layer(size_t) { }
|
||||
virtual void image_did_remove_layer(size_t) { }
|
||||
virtual void image_did_modify_layer(size_t) { }
|
||||
virtual void image_did_modify_layer_properties(size_t) { }
|
||||
virtual void image_did_modify_layer_bitmap(size_t) { }
|
||||
virtual void image_did_modify_layer_stack() { }
|
||||
virtual void image_did_change(Gfx::IntRect const&) { }
|
||||
virtual void image_select_layer(Layer*) { }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue