diff options
author | Poommetee Ketson <poommetee@protonmail.com> | 2018-03-11 21:59:50 +0700 |
---|---|---|
committer | Poommetee Ketson <poommetee@protonmail.com> | 2018-03-23 21:27:30 +0700 |
commit | ed3b080ca6ebc4361306a786dcc2d45481ee8ed9 (patch) | |
tree | a12b5002b5b156385966a8fb170a174d1ffad90d /doc/classes | |
parent | cc34406b5d48c8c09d51c0c8fe6d94b91303745f (diff) |
Fix converting to tileset crashes Godot if existing file is not tileset
also make TileSetEditorPlgn tile list updates the preview modulate
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/ItemList.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/classes/ItemList.xml b/doc/classes/ItemList.xml index e4db5aeb84..0147887768 100644 --- a/doc/classes/ItemList.xml +++ b/doc/classes/ItemList.xml @@ -87,6 +87,15 @@ <description> </description> </method> + <method name="get_item_icon_modulate" qualifiers="const"> + <return type="Color"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <description> + Returns a [Color] modulating item's icon at the specified index. + </description> + </method> <method name="get_item_icon_region" qualifiers="const"> <return type="Rect2"> </return> @@ -225,6 +234,17 @@ Set (or replace) icon of the item at the specified index. </description> </method> + <method name="set_item_icon_modulate"> + <return type="void"> + </return> + <argument index="0" name="idx" type="int"> + </argument> + <argument index="1" name="modulate" type="Color"> + </argument> + <description> + Sets a modulating [Color] for item's icon at the specified index. + </description> + </method> <method name="set_item_icon_region"> <return type="void"> </return> |