Adds a new class ColorPickerShape, which is an abstraction of picker shapes (similar to ColorMode). This allows to split some behemoth methods into a more manageable pieces. For now I removed the huge _hsv_draw() method, which had entangled code for drawing every piece of ColorPicker. Now each part has its own method. The shapes should appear as before.
TODO:
[ ] Re-implement shape input (this will be tricky; I did one, but the code can be better)
[ ] Rework initialization of shape controls to only create them when requested (right now the internal control count is a bit higher than before, because shapes don't share them)
Closes https://github.com/godotengine/godot-proposals/issues/4353 Basically #62075, but for picker shapes.
Adds a new class ColorPickerShape, which is an abstraction of picker shapes (similar to ColorMode). This allows to split some behemoth methods into a more manageable pieces. For now I removed the huge
_hsv_draw()
method, which had entangled code for drawing every piece of ColorPicker. Now each part has its own method. The shapes should appear as before.TODO: