mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 11:37:45 +00:00
PixelPaint: Add GuideTool for editing Guides
This patch adds the logic for the GuideTool. Pulling in from outside the image creates a new Guide, moving a Guide outside of the image deletes it and a Guide can be deleteted via the context menu. A Guide is considered clicked when the cursor is less than 20 pixels away from the line.
This commit is contained in:
parent
d4cf4b74c1
commit
7923929a4d
3 changed files with 171 additions and 0 deletions
|
@ -17,6 +17,7 @@ set(SOURCES
|
|||
CreateNewLayerDialog.cpp
|
||||
EllipseTool.cpp
|
||||
EraseTool.cpp
|
||||
GuideTool.cpp
|
||||
Image.cpp
|
||||
ImageEditor.cpp
|
||||
Layer.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue