From 286e7da162f612cab526d3477910d91bd4babf15 Mon Sep 17 00:00:00 2001 From: Chris Ridenour Date: Fri, 21 Oct 2022 23:20:28 -0400 Subject: Modularize the Color Picker via properties. --- doc/classes/ColorPicker.xml | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/classes/ColorPicker.xml b/doc/classes/ColorPicker.xml index cd1d0b016d..07f2835efe 100644 --- a/doc/classes/ColorPicker.xml +++ b/doc/classes/ColorPicker.xml @@ -55,26 +55,38 @@ + + If [code]true[/code], it's possible to add presets under Swatches. If [code]false[/code], the button to add presets is disabled. + The currently selected color. The currently selected color mode. See [enum ColorModeType]. + + If [code]true[/code], the color mode buttons are visible. + If [code]true[/code], the color will apply only after the user releases the mouse button, otherwise it will apply immediately even in mouse motion event (which can cause performance issues). If [code]true[/code], shows an alpha channel slider (opacity). + + If [code]true[/code], the hex color code input field is visible. + The shape of the color space view. See [enum PickerShapeType]. - - If [code]true[/code], the "add preset" button is enabled. - - If [code]true[/code], saved color presets are visible. + If [code]true[/code], the Swatches and Recent Colors presets are visible. + + + If [code]true[/code], the color sampler and color preview are visible. + + + If [code]true[/code], the color sliders are visible. @@ -125,6 +137,9 @@ HSL OK Color Model circle color space. + + The color space shape and the shape select button are hidden. Can't be selected from the shapes popup. + -- cgit v1.2.3