mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:27:45 +00:00
PixelPaint: Make "Add Mask" action fallible
This commit is contained in:
parent
b548a7b5ea
commit
d62c95d779
3 changed files with 10 additions and 4 deletions
|
@ -45,7 +45,7 @@ public:
|
|||
Gfx::Bitmap const* mask_bitmap() const { return m_mask_bitmap; }
|
||||
Gfx::Bitmap* mask_bitmap() { return m_mask_bitmap; }
|
||||
|
||||
void create_mask();
|
||||
ErrorOr<void> create_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