Commit Graph

77 Commits (e182e479dfdf26524771fe9349bad90546690d45)

Author SHA1 Message Date
Dmitry Kostenko 572096a23b Fix use of mask in smooth shape 2021-02-11 09:31:51 +01:00
Dmitry Kostenko 4329b6300f Adjust the plateau tool 2021-02-11 09:31:51 +01:00
Dmitry Kostenko 2d829f51d1 Add paging in palette 2021-02-11 09:31:51 +01:00
Dmitry Kostenko 1e055dfabf New icons 2021-02-11 09:31:51 +01:00
Dmitry Kostenko 52c2314a55 Add close button
Also positioned form in the center
2021-02-11 09:31:51 +01:00
Dmitry Kostenko 13515d60de Add color tags for the brush tool 2021-02-11 09:31:51 +01:00
Dmitry Kostenko a60fd8b540 New icons for shapes 2021-02-11 09:31:51 +01:00
Dmitry Kostenko 1b025b727d New icon for plateau shape 2021-02-11 09:31:51 +01:00
Dmitry Kostenko f2bdf0b8af Show brush parameters in description 2021-02-11 09:31:51 +01:00
Dmitry Kostenko c21f372100 Fix placement of labels in config screen 2021-02-11 09:31:51 +01:00
Dmitry Kostenko 6b8e63768f Minor comments 2021-02-11 09:31:51 +01:00
Dmitry Kostenko bcd3ce6cf4 Mark png files as binary 2021-02-11 09:31:51 +01:00
Dmitry Kostenko 3d848cb659 Add smoothener 2021-02-11 09:31:51 +01:00
Dmitry Kostenko 8e87339d98 Place cyl and cube upside down if looking up 2021-02-11 09:31:51 +01:00
Dmitry Kostenko abdefde25c Add cylinder shape 2021-02-11 09:31:51 +01:00
Dmitry Kostenko afeef65141 Rename hfill -> plateau 2021-02-11 09:31:51 +01:00
Dmitry Kostenko 339ec58021 Rename brushes -> shapes
This avoids connfusion between the tool name and thel low-level
pluggable shapes concept
2021-02-11 09:31:51 +01:00
Dmitry Kostenko c8083ae01e Add plateau brush code 2021-02-11 09:31:51 +01:00
Dmitry Kostenko 33e8eb92fc Extract brush code from tool execute method 2021-02-11 09:31:51 +01:00
Dmitry Kostenko 12f85a858b Expand form to fit the inventories 2021-02-11 09:31:51 +01:00
Dmitry Kostenko 1053c9f272 Use mask and paint when drawing 2021-02-11 09:31:51 +01:00
Dmitry Kostenko dfd01ac794 Support editing paint and mask for the brush 2021-02-11 09:31:51 +01:00
Dmitry Kostenko 3445504645 Send configuration to the tool on form close
Fixes Enter key in input fields
2021-02-11 09:31:51 +01:00
Dmitry Kostenko a376c13f2a Add brushes
* Select brush in configuration (left click)
* Cube and Sphere
* Adjusted spheres
* Prepare for non-uniform sizes
2021-02-11 09:31:51 +01:00
Dmitry Kostenko 4b74515632 Draft of the brush options 2021-02-11 09:31:51 +01:00
Dmitry Kostenko ee56b3349c Store tool properties in itemstack 2021-02-11 09:31:51 +01:00
Dmitry Kostenko 4dcb5151ff Initial revision
* Basic tool framework
* History
* Sculptor tool with configurable size
* Undo tool
2021-02-11 09:31:51 +01:00