mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:57:35 +00:00
PixelPaint: Relate cursor to brush tool size
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.
This commit is contained in:
parent
e9ca641d45
commit
e520b9c3a3
6 changed files with 87 additions and 6 deletions
|
@ -18,7 +18,7 @@ class PenTool final : public BrushTool {
|
|||
public:
|
||||
PenTool();
|
||||
virtual ~PenTool() override = default;
|
||||
|
||||
virtual Variant<Gfx::StandardCursor, NonnullRefPtr<Gfx::Bitmap>> cursor() override { return Gfx::StandardCursor::Crosshair; }
|
||||
virtual GUI::Widget* get_properties_widget() override;
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue