1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 04:57:44 +00:00

PixelPaint: Add method to merge visible layers

This adds a function that merges all visible layers to one, ignoring the
invisible.
This commit is contained in:
Marcus Nilsson 2021-07-06 12:48:30 +02:00 committed by Andreas Kling
parent 0900e31fe0
commit 791a018c99
3 changed files with 39 additions and 0 deletions

View file

@ -69,6 +69,7 @@ public:
void remove_layer(Layer&);
void select_layer(Layer*);
void flatten_all_layers();
void merge_visible_layers();
void add_client(ImageClient&);
void remove_client(ImageClient&);