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
commit 791a018c99
Notes: sideshowbarker 2024-07-18 10:03:18 +09:00
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&);