mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:47:45 +00:00
PixelPaint: Add "Delete Mask" action
This commit adds a "Delete Mask" action which deletes the active layer mask. The option is only displayed if the active layer is masked.
This commit is contained in:
parent
d66f143fb7
commit
062c9efa88
4 changed files with 55 additions and 8 deletions
|
@ -46,6 +46,7 @@ public:
|
|||
Gfx::Bitmap* mask_bitmap() { return m_mask_bitmap; }
|
||||
|
||||
ErrorOr<void> create_mask();
|
||||
void delete_mask();
|
||||
Gfx::Bitmap& get_scratch_edited_bitmap();
|
||||
|
||||
Gfx::IntSize size() const { return content_bitmap().size(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue