mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:07:46 +00:00
PaintBrush: Add an erase tool
This commit is contained in:
parent
e971f5604c
commit
24ada6bd1f
4 changed files with 92 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
#include "PaintableWidget.h"
|
||||
#include "PenTool.h"
|
||||
#include "PickerTool.h"
|
||||
#include "EraseTool.h"
|
||||
#include <LibGUI/GBoxLayout.h>
|
||||
#include <LibGUI/GButton.h>
|
||||
#include <SharedGraphics/PNGLoader.h>
|
||||
|
@ -66,6 +67,7 @@ ToolboxWidget::ToolboxWidget(GWidget* parent)
|
|||
add_tool("Bucket Fill", "bucket", make<BucketTool>());
|
||||
add_tool("Spray", "spray", make<SprayTool>());
|
||||
add_tool("Color Picker", "picker", make<PickerTool>());
|
||||
add_tool("Erase", "", make<EraseTool>());
|
||||
}
|
||||
|
||||
ToolboxWidget::~ToolboxWidget()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue