mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
PixelPaint: Add Text Tool
This commit is contained in:
parent
7b62e02bc3
commit
7b4e5d6ac0
Notes:
sideshowbarker
2024-07-17 07:43:44 +09:00
Author: https://github.com/tslater2006
Commit: 7b4e5d6ac0
Pull-request: https://github.com/SerenityOS/serenity/pull/15828
Reviewed-by: https://github.com/AtkinsSJ ✅
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/gmta
5 changed files with 362 additions and 0 deletions
|
@ -21,6 +21,7 @@
|
|||
#include "Tools/RectangleSelectTool.h"
|
||||
#include "Tools/RectangleTool.h"
|
||||
#include "Tools/SprayTool.h"
|
||||
#include "Tools/TextTool.h"
|
||||
#include "Tools/WandSelectTool.h"
|
||||
#include "Tools/ZoomTool.h"
|
||||
#include <LibGUI/Action.h>
|
||||
|
@ -87,6 +88,7 @@ void ToolboxWidget::setup_tools()
|
|||
add_tool("line"sv, { Mod_Ctrl | Mod_Shift, Key_L }, make<LineTool>());
|
||||
add_tool("rectangle"sv, { Mod_Ctrl | Mod_Shift, Key_R }, make<RectangleTool>());
|
||||
add_tool("circle"sv, { Mod_Ctrl | Mod_Shift, Key_E }, make<EllipseTool>());
|
||||
add_tool("text"sv, { Mod_Ctrl | Mod_Shift, Key_T }, make<TextTool>());
|
||||
add_tool("zoom"sv, { 0, Key_Z }, make<ZoomTool>());
|
||||
add_tool("rectangle-select"sv, { 0, Key_R }, make<RectangleSelectTool>());
|
||||
add_tool("wand-select"sv, { 0, Key_W }, make<WandSelectTool>());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue