From 1dce43d417784e79aedcb0b4d53a4a97145c47af Mon Sep 17 00:00:00 2001 From: Vitika9 Date: Thu, 30 Jun 2022 17:04:32 +0530 Subject: ColorPicker UX improvements - Tabs and MenuButton for mode selection and enabling/disabling colorized sliders - MenuButton for shape selection with new icon for each shape - Drag and drop functionality for presets to arrange order - A chronological list of recently selected presets which are global for the editor - Presets are now highlighted as being active or inactive - Thicker sliders for easy targeting - `grabber_offset` theme constant for Slider - Uncolorized sliders --- doc/classes/ColorPicker.xml | 36 ++++++++++++++++++++++++++++++++++++ doc/classes/HSlider.xml | 3 +++ doc/classes/VSlider.xml | 3 +++ 3 files changed, 42 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/ColorPicker.xml b/doc/classes/ColorPicker.xml index e992d6f9d4..d09b7f003e 100644 --- a/doc/classes/ColorPicker.xml +++ b/doc/classes/ColorPicker.xml @@ -19,6 +19,14 @@ [b]Note:[/b] The presets list is only for [i]this[/i] color picker. + + + + + Adds the given color to a list of color recent presets so that it can be picked later. Recent presets are the colors that were picked recently, a new preset is automatically created and added to recent presets when you pick a new color. + [b]Note:[/b] The recent presets list is only for [i]this[/i] color picker. + + @@ -26,12 +34,25 @@ Removes the given color from the list of color presets of this color picker. + + + + + Removes the given color from the list of color recent presets of this color picker. + + Returns the list of colors in the presets of the color picker. + + + + Returns the list of colors in the recent presets of the color picker. + + @@ -129,6 +150,12 @@ Custom texture for the hue selection slider on the right. + + The icon for color preset drop down menu when expanded. + + + The icon for color preset drop down menu when folded. + The indicator used to signalize that the color value is outside the 0-1 range. @@ -139,5 +166,14 @@ The icon for the screen color picker button. + + The icon for circular picker shapes. + + + The icon for rectangular picker shapes. + + + The icon for rectangular wheel picker shapes. + diff --git a/doc/classes/HSlider.xml b/doc/classes/HSlider.xml index 60208eee0f..cb0a8b34db 100644 --- a/doc/classes/HSlider.xml +++ b/doc/classes/HSlider.xml @@ -10,6 +10,9 @@ + + Vertical offset of the grabber. + The texture for the grabber (the draggable element). diff --git a/doc/classes/VSlider.xml b/doc/classes/VSlider.xml index 36954a6912..b30349e538 100644 --- a/doc/classes/VSlider.xml +++ b/doc/classes/VSlider.xml @@ -14,6 +14,9 @@ + + Horizontal offset of the grabber. + The texture for the grabber (the draggable element). -- cgit v1.2.3