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

PixelPaint: Add the GuideTool to the Toolbox

This also adds a custom icon for the GuideTool.
This commit is contained in:
Tobias Christiansen 2021-08-05 15:00:49 +02:00 committed by Ali Mohammad Pur
parent 7923929a4d
commit 193f1e01cf
2 changed files with 2 additions and 0 deletions

View file

@ -9,6 +9,7 @@
#include "BucketTool.h"
#include "EllipseTool.h"
#include "EraseTool.h"
#include "GuideTool.h"
#include "LineTool.h"
#include "MoveTool.h"
#include "PenTool.h"
@ -79,6 +80,7 @@ void ToolboxWidget::setup_tools()
add_tool("Ellipse", "circle", { Mod_Ctrl | Mod_Shift, Key_E }, make<EllipseTool>());
add_tool("Zoom", "zoom", { 0, Key_Z }, make<ZoomTool>());
add_tool("Rectangle Select", "rectangle-select", { 0, Key_R }, make<RectangleSelectTool>());
add_tool("Guides", "guides", { 0, Key_G }, make<GuideTool>());
}
}