mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:37:35 +00:00
PixelPaint: Add selection functionality to the LayerListWidget
Now we can get rid of the old table view and with it the LayerModel.
This commit is contained in:
parent
e4b11a23b7
commit
18d68c8c94
10 changed files with 77 additions and 185 deletions
|
@ -70,7 +70,7 @@ public:
|
|||
Function<void(Color)> on_primary_color_change;
|
||||
Function<void(Color)> on_secondary_color_change;
|
||||
|
||||
Function<void(const GUI::ModelIndex&)> on_active_layer_change;
|
||||
Function<void(Layer*)> on_active_layer_change;
|
||||
|
||||
Gfx::FloatRect layer_rect_to_editor_rect(const Layer&, const Gfx::Rect&) const;
|
||||
Gfx::FloatRect image_rect_to_editor_rect(const Gfx::Rect&) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue