summaryrefslogtreecommitdiff
path: root/Userland/Applications/PixelPaint/Tools/Tool.cpp
AgeCommit message (Collapse)Author
2023-01-13PixelPaint: Hold shift to constrain polygonal select tool line angleTim Ledbetter
Holding shift while using the polygonal select tool now constrains the line angle in 22.5 degree increments. This matches the behavior of the line tool.
2022-12-16PixelPaint: Change tool keydown handle to non-constTimothy Slater
This was changed to const in PR #15788 but presents problems for tools that may need to forward this event to non-const event handlers.
2022-12-07Meta+Userland: Pass Gfx::IntPoint by valueMacDue
This is just two ints or 8 bytes or the size of the reference on x86_64 or AArch64.
2022-11-14PixelPaint: Allow keydown events to bubble from ImageEditorZaggy1024
Previously, all keydown KeyEvents were accepted, causing parent widgets not to receive them. With the addition of shortcut handling to keydown, shortcuts were not called when the ImageEditor was focused.
2022-08-21PixelPaint: Fix tool preview positions after moving a layerMacDue
Previously the tool previews did not account for the position of the layer, so would be drawn in the wrong location if the layer was not at 0,0.
2022-02-14Applications: Use default constructors/destructorsLenny Maiorani
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#cother-other-default-operation-rules "The compiler is more likely to get the default semantics right and you cannot implement these functions better than the compiler."
2022-01-14PixelPaint: Inherit from `AbstractZoomPanWidget`Mustafa Quraish
2021-12-30Everywhere: Use 'decrease_slider_by()' method from AbstractSliderElyse
The same idea as 'increase_slider_by()', it helps us to avoid repeating the pattern 'set_value(value() - delta)'.
2021-12-30Everywhere: Use 'increase_slider_by()' method from AbstractSliderElyse
This method help us to avoid repeating the pattern 'set_value(value() + delta)'.
2021-10-02PixelPaint: Correctly offset stroke position for even thicknessesGal Horowitz
2021-09-20PixelPaint: Move Tools to it's own subdirectoryMarcus Nilsson
The PixelPaint source directory was getting a bit large, let's move all the Tools to it's own subdirectory. Also remove some unused includes.