mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:37:45 +00:00
PixelPaint: Paint layer thumbnails with correct aspect ratio
This commit is contained in:
parent
399d1ff961
commit
a599f68cfe
2 changed files with 31 additions and 13 deletions
|
@ -59,7 +59,7 @@ private:
|
|||
Gfx::IntPoint movement_delta;
|
||||
};
|
||||
|
||||
void get_gadget_rects(Gadget const&, Gfx::IntRect& outer_rect, Gfx::IntRect& thumbnail_rect, Gfx::IntRect& text_rect);
|
||||
void get_gadget_rects(Gadget const&, Gfx::IntRect& outer_rect, Gfx::IntRect& outer_thumbnail_rect, Gfx::IntRect& inner_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