1
Fork 0
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:
Robin Burchell 2019-06-28 11:11:06 +02:00 committed by Andreas Kling
parent e971f5604c
commit 24ada6bd1f
4 changed files with 92 additions and 0 deletions

View file

@ -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()