1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:17:44 +00:00

Add a simple spray fill tool

Could do with some more tweaking no doubt, and it'd be nice to have a
circular spray, but this is better than nothing.
This commit is contained in:
Robin Burchell 2019-06-16 11:33:20 +02:00 committed by Andreas Kling
parent 940eb1bbeb
commit 502c54e39a
11 changed files with 143 additions and 32 deletions

View file

@ -1,5 +1,6 @@
#include "ToolboxWidget.h"
#include "BucketTool.h"
#include "SprayTool.h"
#include "PaintableWidget.h"
#include "PenTool.h"
#include <LibGUI/GBoxLayout.h>
@ -57,6 +58,7 @@ ToolboxWidget::ToolboxWidget(GWidget* parent)
add_tool("Pen", "pen", make<PenTool>());
add_tool("Bucket Fill", "bucket", make<BucketTool>());
add_tool("Spray", "", make<SprayTool>());
}
ToolboxWidget::~ToolboxWidget()