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:
parent
9d1336a1c9
commit
e66763c223
2 changed files with 26 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue