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

PixelPaint: Add function to make layer from selection to ImageEditor

This commit is contained in:
Timothy Slater 2022-09-02 20:35:24 -05:00 committed by Sam Atkins
parent 9d1336a1c9
commit e66763c223
2 changed files with 26 additions and 0 deletions

View file

@ -38,6 +38,7 @@ public:
Layer* active_layer() { return m_active_layer; }
void set_active_layer(Layer*);
ErrorOr<void> add_new_layer_from_selection();
Tool* active_tool() { return m_active_tool; }
void set_active_tool(Tool*);
void update_tool_cursor();