diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-08-18 15:00:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-18 15:00:57 +0200 |
commit | 461d1bcb80b3b0b2fcb6f0388702843555071016 (patch) | |
tree | b0e97d6b0e4b0ebc87cdf790ac7d7d42f13fa3c4 /scene | |
parent | f3c09b5088503b46ad1ca7afbd56c13a2565627d (diff) | |
parent | 099f74584ab603a0242555f19926078896a3bb6a (diff) |
Merge pull request #21117 from akien-mga/itemlist_custom_fg_color
Bind ItemList's item_custom_fg_color methods
Diffstat (limited to 'scene')
-rw-r--r-- | scene/gui/item_list.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/gui/item_list.cpp b/scene/gui/item_list.cpp index 5c79741682..d61bd97c2a 100644 --- a/scene/gui/item_list.cpp +++ b/scene/gui/item_list.cpp @@ -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); |