1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00
Pixelorama/assets/graphics/tools
mrtripie 0ad86816e5
Crop Tool (#830)
* Added intial crop tool

* [skip ci] Removed unneeeded LINE_WIDTH constant from CropRect

* Added DimensionsLabel

* Cleaned up CropRect._draw

* Hide the CropRect after switching to a different tool

* Sets the crop values to the entire canvas size on setup

* [skip ci] Added crop tool tooltip

* Made Crop tools synced with eachother by placing the crop settings on CropRect

* Added new modes, refactored, added rule of thirds lines and darkened background

* [skip ci] reset optimization

* Renames

* [skip ci] Tweaked the darkened background

* Fixed bug with top/bottom/left/right sliders after rect refactor

* Changing width/height on locked aspect ratio bug

* Aspect ratio sliders rounding/setting a min of 1 px height/width

* Fixed bugs with drawing the crop rect, especially with locked aspect ratio

* Save the mode to config_cache

* Added size lock and renamed mode

* Added tooltip for size lock. Not sure if I did the translation file right

* removed signal that wasn't used

* Formatting

* Removed old TODO comment from one of my previous PRs that isn't true anymore

* Fixed definition order for linter

* Changed locked size modes moving to offset by @Variable-ind, reordered methods

---------

Co-authored-by: MrTriPie <MrTriPie>
2023-03-16 19:50:45 +02:00
..
cursors Crop Tool (#830) 2023-03-16 19:50:45 +02:00
bucket.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
bucket.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
colorpicker.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
colorpicker.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
colorselect.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
colorselect.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
crop.png Crop Tool (#830) 2023-03-16 19:50:45 +02:00
crop.png.import Crop Tool (#830) 2023-03-16 19:50:45 +02:00
ellipseselect.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
ellipseselect.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
ellipsetool.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
ellipsetool.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
eraser.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
eraser.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
lasso.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
lasso.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
linetool.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
linetool.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
magicwand.png Mirror magic wand tool's icon 2021-06-06 02:06:19 +03:00
magicwand.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
move.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
move.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
paintselect.png Paint selection brush (#792) 2022-12-14 18:34:13 +02:00
paintselect.png.import [skip ci] Add missing import files 2022-12-21 02:51:13 +02:00
pan.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
pan.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
pencil.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
pencil.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
polygonselect.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
polygonselect.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
rectangletool.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
rectangletool.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
rectselect.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
rectselect.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
shading.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
shading.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
tool_background.png Added tool button size option in the Preferences 2021-06-14 02:14:31 +03:00
tool_background.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00
zoom.png Replace button icons with single-color textures that change color automatically depending on the theme 2021-06-03 22:42:08 +03:00
zoom.png.import Format code and add static checks (#599) 2021-11-25 14:48:30 +02:00