mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:27:43 +00:00
PixelPaint: ImageEditor scaling method
Moved the code on mousewheel_event to its own function.
This commit is contained in:
parent
ca49f96b78
commit
3947d301e5
2 changed files with 26 additions and 18 deletions
|
@ -63,6 +63,8 @@ public:
|
|||
|
||||
Layer* layer_at_editor_position(const Gfx::IntPoint&);
|
||||
|
||||
void scale_centered_on_position(const Gfx::IntPoint&, float);
|
||||
|
||||
Color primary_color() const { return m_primary_color; }
|
||||
void set_primary_color(Color);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue