1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:57:35 +00:00

PixelPaint: Add actions to rotate image left/right

This also required adding a new hook to `ImageClient`, since there
wasn't a way of telling the ImageEditor that the full rect of the
image has changed (as when we rotate).
This commit is contained in:
Mustafa Quraish 2021-09-02 19:29:03 -04:00 committed by Andreas Kling
parent 6a8c408856
commit ca6c9be94c
5 changed files with 46 additions and 0 deletions

View file

@ -106,6 +106,7 @@ private:
virtual void leave_event(Core::Event&) override;
virtual void image_did_change(Gfx::IntRect const&) override;
virtual void image_did_change_rect(Gfx::IntRect const&) override;
virtual void image_select_layer(Layer*) override;
virtual void image_did_change_title(String const&) override;