1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 04:17:34 +00:00

PixelPaint: Incorporate CloneTool into toolbox

This commit is contained in:
Mustafa Quraish 2021-09-12 16:05:19 -04:00 committed by Andreas Kling
parent 22b78226b3
commit fafbe417d1

View file

@ -7,6 +7,7 @@
#include "ToolboxWidget.h" #include "ToolboxWidget.h"
#include "BrushTool.h" #include "BrushTool.h"
#include "BucketTool.h" #include "BucketTool.h"
#include "CloneTool.h"
#include "EllipseTool.h" #include "EllipseTool.h"
#include "EraseTool.h" #include "EraseTool.h"
#include "GuideTool.h" #include "GuideTool.h"
@ -83,6 +84,7 @@ void ToolboxWidget::setup_tools()
add_tool("Zoom", "zoom", { 0, Key_Z }, make<ZoomTool>()); add_tool("Zoom", "zoom", { 0, Key_Z }, make<ZoomTool>());
add_tool("Rectangle Select", "rectangle-select", { 0, Key_R }, make<RectangleSelectTool>()); add_tool("Rectangle Select", "rectangle-select", { 0, Key_R }, make<RectangleSelectTool>());
add_tool("Guides", "guides", { 0, Key_G }, make<GuideTool>()); add_tool("Guides", "guides", { 0, Key_G }, make<GuideTool>());
add_tool("Clone Tool", "clone", { 0, Key_C }, make<CloneTool>());
} }
} }