mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 18:50:50 +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
Notes:
sideshowbarker
2024-07-18 07:21:36 +09:00
Author: https://github.com/TobyAsE
Commit: 193f1e01cf
Pull-request: https://github.com/SerenityOS/serenity/pull/9155
Reviewed-by: https://github.com/alimpfard
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 "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>());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue