mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:38:12 +00:00
PixelPaint: Add a mask thumbnail to the LayerListWidget
This commit is contained in:
parent
f972f8e7a8
commit
57772f9708
2 changed files with 32 additions and 5 deletions
|
@ -59,7 +59,7 @@ private:
|
|||
Gfx::IntPoint movement_delta;
|
||||
};
|
||||
|
||||
void get_gadget_rects(Gadget const&, Gfx::IntRect& outer_rect, Gfx::IntRect& outer_thumbnail_rect, Gfx::IntRect& inner_thumbnail_rect, Gfx::IntRect& text_rect);
|
||||
void get_gadget_rects(Gadget const& gadget, bool is_masked, Gfx::IntRect& outer_rect, Gfx::IntRect& outer_thumbnail_rect, Gfx::IntRect& inner_thumbnail_rect, Gfx::IntRect& outer_mask_thumbnail_rect, Gfx::IntRect& inner_mask_thumbnail_rect, Gfx::IntRect& text_rect);
|
||||
bool is_moving_gadget() const { return m_moving_gadget_index.has_value(); }
|
||||
|
||||
Optional<size_t> gadget_at(Gfx::IntPoint const&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue