mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:27:44 +00:00
PixelPaint: Add the GuideTool to the Toolbox
This also adds a custom icon for the GuideTool.
This commit is contained in:
parent
7923929a4d
commit
193f1e01cf
2 changed files with 2 additions and 0 deletions
BIN
Base/res/icons/pixelpaint/guides.png
Normal file
BIN
Base/res/icons/pixelpaint/guides.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 682 B |
|
@ -9,6 +9,7 @@
|
||||||
#include "BucketTool.h"
|
#include "BucketTool.h"
|
||||||
#include "EllipseTool.h"
|
#include "EllipseTool.h"
|
||||||
#include "EraseTool.h"
|
#include "EraseTool.h"
|
||||||
|
#include "GuideTool.h"
|
||||||
#include "LineTool.h"
|
#include "LineTool.h"
|
||||||
#include "MoveTool.h"
|
#include "MoveTool.h"
|
||||||
#include "PenTool.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("Ellipse", "circle", { Mod_Ctrl | Mod_Shift, Key_E }, make<EllipseTool>());
|
||||||
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>());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue