diff options
Diffstat (limited to 'doc/classes/ColorPicker.xml')
-rw-r--r-- | doc/classes/ColorPicker.xml | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/doc/classes/ColorPicker.xml b/doc/classes/ColorPicker.xml index 2111358ef4..7b357034eb 100644 --- a/doc/classes/ColorPicker.xml +++ b/doc/classes/ColorPicker.xml @@ -11,27 +11,22 @@ </tutorials> <methods> <method name="add_preset"> - <return type="void"> - </return> - <argument index="0" name="color" type="Color"> - </argument> + <return type="void" /> + <argument index="0" name="color" type="Color" /> <description> Adds the given color to a list of color presets. The presets are displayed in the color picker and the user will be able to select them. [b]Note:[/b] the presets list is only for [i]this[/i] color picker. </description> </method> <method name="erase_preset"> - <return type="void"> - </return> - <argument index="0" name="color" type="Color"> - </argument> + <return type="void" /> + <argument index="0" name="color" type="Color" /> <description> Removes the given color from the list of color presets of this color picker. </description> </method> <method name="get_presets" qualifiers="const"> - <return type="PackedColorArray"> - </return> + <return type="PackedColorArray" /> <description> Returns the list of colors in the presets of the color picker. </description> @@ -67,22 +62,19 @@ </members> <signals> <signal name="color_changed"> - <argument index="0" name="color" type="Color"> - </argument> + <argument index="0" name="color" type="Color" /> <description> Emitted when the color is changed. </description> </signal> <signal name="preset_added"> - <argument index="0" name="color" type="Color"> - </argument> + <argument index="0" name="color" type="Color" /> <description> Emitted when a preset is added. </description> </signal> <signal name="preset_removed"> - <argument index="0" name="color" type="Color"> - </argument> + <argument index="0" name="color" type="Color" /> <description> Emitted when a preset is removed. </description> |