summaryrefslogtreecommitdiff
path: root/Userland/Applications/PixelPaint/Tools/EraseTool.h
AgeCommit message (Collapse)Author
2023-02-16PixelPaint: Propagate errors from making tool property widgetsKarol Kosek
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-12-07Meta+Userland: Pass Gfx::Color by valueMacDue
Gfx::Color is always 4 bytes (it's just a wrapper over u32) it's less work just to pass the color directly. This also updates IPCCompiler to prevent from generating Gfx::Color const &, which makes replacement easier.
2022-11-07PixelPaint: Relate cursor to brush tool sizeTorstennator
This patch changes the cursor for the brush tool to a circle of dynamic size to indicate the region where the tool will apply color changes.
2022-08-21PixelPaint: Add Tool::tool_name() as a single-point-of-truthAndreas Kling
Let the tools know what their names are.
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."
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.