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

PixelPaint: Add Merge Active Layer Down action

This allows you to merge the active layer with the one below it.
This commit is contained in:
Mustafa Quraish 2021-09-02 03:10:59 -04:00 committed by Andreas Kling
parent 97cc34c034
commit 339f0d5bca
3 changed files with 33 additions and 0 deletions

View file

@ -1,5 +1,6 @@
/*
* Copyright (c) 2020-2021, Andreas Kling <kling@serenityos.org>
* Copyright (c) 2021, Mustafa Quraish <mustafa@cs.toronto.edu>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
@ -74,6 +75,7 @@ public:
void select_layer(Layer*);
void flatten_all_layers();
void merge_visible_layers();
void merge_active_layer_down(Layer& layer);
void add_client(ImageClient&);
void remove_client(ImageClient&);