mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:47:34 +00:00
PixelPaint: Add function to visualize editing-masks
This patch adds a function to make the editing-eask visible while beeing in mask-mode so that the user can see which parts are covered by the masks and can therefore be modified by other tools that support editing masks.
This commit is contained in:
parent
69650a5812
commit
660d6f171c
6 changed files with 76 additions and 0 deletions
|
@ -37,6 +37,7 @@ public:
|
|||
|
||||
Layer* active_layer() { return m_active_layer; }
|
||||
void set_active_layer(Layer*);
|
||||
Gfx::IntRect active_layer_visible_rect();
|
||||
|
||||
ErrorOr<void> add_new_layer_from_selection();
|
||||
Tool* active_tool() { return m_active_tool; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue