1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:58:11 +00:00

PixelPaint: Added Zoom tool

This commit is contained in:
lucastarche 2021-03-22 14:34:20 -03:00 committed by Andreas Kling
parent 3947d301e5
commit fa9dfa3da1
5 changed files with 129 additions and 0 deletions

View file

@ -35,6 +35,7 @@
#include "PickerTool.h"
#include "RectangleTool.h"
#include "SprayTool.h"
#include "ZoomTool.h"
#include <AK/StringBuilder.h>
#include <LibGUI/Action.h>
#include <LibGUI/BoxLayout.h>
@ -135,6 +136,7 @@ void ToolboxWidget::setup_tools()
add_tool("Line", "line", { Mod_Ctrl | Mod_Shift, Key_L }, make<LineTool>());
add_tool("Rectangle", "rectangle", { Mod_Ctrl | Mod_Shift, Key_R }, make<RectangleTool>());
add_tool("Ellipse", "circle", { Mod_Ctrl | Mod_Shift, Key_E }, make<EllipseTool>());
add_tool("Zoom", "zoom", { 0, Key_Z }, make<ZoomTool>());
}
}