diff options
author | Chris Bradfield <chris@kidscancode.org> | 2017-09-09 20:10:28 -0700 |
---|---|---|
committer | Chris Bradfield <chris@kidscancode.org> | 2017-09-09 20:10:28 -0700 |
commit | 134e24408a3ae6273da5998ee257495eff79eb1a (patch) | |
tree | 566c3d82ed1925a3d6dcd34c6cb1687328af7f6e /scene/gui/item_list.h | |
parent | f66e9158a8a49d1fb88cd31975a2a492b3aa1d6e (diff) | |
parent | d1cb73b47a17de830d9474026ffa7b3587cfbc68 (diff) |
Merge branch 'master' of git://github.com/godotengine/godot into kcc_lightoccluder2d_doc
Diffstat (limited to 'scene/gui/item_list.h')
-rw-r--r-- | scene/gui/item_list.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/gui/item_list.h b/scene/gui/item_list.h index 8166975408..673b7d8956 100644 --- a/scene/gui/item_list.h +++ b/scene/gui/item_list.h @@ -61,6 +61,7 @@ private: bool tooltip_enabled; Variant metadata; String tooltip; + Color custom_fg; Color custom_bg; Rect2 rect_cache; @@ -150,6 +151,9 @@ public: void set_item_custom_bg_color(int p_idx, const Color &p_custom_bg_color); Color get_item_custom_bg_color(int p_idx) const; + void set_item_custom_fg_color(int p_idx, const Color &p_custom_fg_color); + Color get_item_custom_fg_color(int p_idx) const; + void select(int p_idx, bool p_single = true); void unselect(int p_idx); bool is_selected(int p_idx) const; |