mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
parent
985ed5e55a
commit
099f74584a
@ -77,6 +77,14 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_item_custom_fg_color" qualifiers="const">
|
||||
<return type="Color">
|
||||
</return>
|
||||
<argument index="0" name="idx" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_item_icon" qualifiers="const">
|
||||
<return type="Texture">
|
||||
</return>
|
||||
@ -227,6 +235,16 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_item_custom_fg_color">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="idx" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="custom_fg_color" type="Color">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_item_disabled">
|
||||
<return type="void">
|
||||
</return>
|
||||
|
@ -1423,6 +1423,9 @@ void ItemList::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("set_item_custom_bg_color", "idx", "custom_bg_color"), &ItemList::set_item_custom_bg_color);
|
||||
ClassDB::bind_method(D_METHOD("get_item_custom_bg_color", "idx"), &ItemList::get_item_custom_bg_color);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("set_item_custom_fg_color", "idx", "custom_fg_color"), &ItemList::set_item_custom_fg_color);
|
||||
ClassDB::bind_method(D_METHOD("get_item_custom_fg_color", "idx"), &ItemList::get_item_custom_fg_color);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("set_item_tooltip_enabled", "idx", "enable"), &ItemList::set_item_tooltip_enabled);
|
||||
ClassDB::bind_method(D_METHOD("is_item_tooltip_enabled", "idx"), &ItemList::is_item_tooltip_enabled);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user