mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:57:35 +00:00
PaintBrush: Add a color picker tool.
This commit is contained in:
parent
41613e4303
commit
25fd847ef2
8 changed files with 71 additions and 2 deletions
|
@ -3,6 +3,7 @@
|
|||
#include "SprayTool.h"
|
||||
#include "PaintableWidget.h"
|
||||
#include "PenTool.h"
|
||||
#include "PickerTool.h"
|
||||
#include <LibGUI/GBoxLayout.h>
|
||||
#include <LibGUI/GButton.h>
|
||||
#include <SharedGraphics/PNGLoader.h>
|
||||
|
@ -59,6 +60,7 @@ ToolboxWidget::ToolboxWidget(GWidget* parent)
|
|||
add_tool("Pen", "pen", make<PenTool>());
|
||||
add_tool("Bucket Fill", "bucket", make<BucketTool>());
|
||||
add_tool("Spray", "spray", make<SprayTool>());
|
||||
add_tool("Color Picker", "picker", make<PickerTool>());
|
||||
}
|
||||
|
||||
ToolboxWidget::~ToolboxWidget()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue