Merge pull request #107249 from beicause/color-picker-ok-hs-hl-rectangles

ColorPicker: Add okhsl HS and HL rectangular picker shapes
This commit is contained in:
Rémi Verschelde
2025-06-09 00:45:18 +02:00
7 changed files with 383 additions and 37 deletions

View File

@@ -144,6 +144,12 @@
<constant name="SHAPE_NONE" value="4" enum="PickerShapeType">
The color space shape and the shape select button are hidden. Can't be selected from the shapes popup.
</constant>
<constant name="SHAPE_OK_HS_RECTANGLE" value="5" enum="PickerShapeType">
OKHSL Color Model rectangle with constant lightness.
</constant>
<constant name="SHAPE_OK_HL_RECTANGLE" value="6" enum="PickerShapeType">
OKHSL Color Model rectangle with constant saturation.
</constant>
</constants>
<theme_items>
<theme_item name="focused_not_editing_cursor_color" data_type="color" type="Color" default="Color(1, 1, 1, 0.275)">