1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:47:35 +00:00

PixelPaint: Add a Duplicate Layer action

The "Duplicate Layer" action inserts a copy of the selected layer into
the layer stack. The new layer is placed above the selected layer.
This commit is contained in:
Tim Ledbetter 2023-03-24 17:51:24 +00:00 committed by Jelle Raaijmakers
parent 55feecee36
commit 3faf089be5
7 changed files with 83 additions and 3 deletions

View file

@ -127,6 +127,7 @@ public:
Function<void(DeprecatedString)> on_appended_status_info_change;
DeprecatedString appended_status_info() { return m_appended_status_info; };
void set_appended_status_info(DeprecatedString);
DeprecatedString generate_unique_layer_name(DeprecatedString const& original_layer_name);
private:
explicit ImageEditor(NonnullRefPtr<Image>);