summaryrefslogtreecommitdiffstats
path: root/scene/gui/tree.h
diff options
context:
space:
mode:
authorradzo73 <radzo73qwerty@gmail.com>2024-01-28 14:55:48 -0500
committerradzo73 <radzo73qwerty@gmail.com>2024-01-28 19:09:20 -0500
commitde5b0d71036c6e412de89f77eca57a4e35ffd3a3 (patch)
treee97c3deaa6a9906fceab70bca8efc65ce8c66149 /scene/gui/tree.h
parent17e7f85c06366b427e5068c5b3e2940e27ff5f1d (diff)
downloadredot-engine-de5b0d71036c6e412de89f77eca57a4e35ffd3a3.tar.gz
Add `get_button_color(column, id)`
Docs should point to Color constuctor instead of just the class, but I unfortunately cannot.
Diffstat (limited to 'scene/gui/tree.h')
-rw-r--r--scene/gui/tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/tree.h b/scene/gui/tree.h
index 8ec003be9c..ee5f0d420b 100644
--- a/scene/gui/tree.h
+++ b/scene/gui/tree.h
@@ -266,6 +266,7 @@ public:
int get_button_id(int p_column, int p_index) const;
void erase_button(int p_column, int p_index);
int get_button_by_id(int p_column, int p_id) const;
+ Color get_button_color(int p_column, int p_index) const;
void set_button_tooltip_text(int p_column, int p_index, const String &p_tooltip);
void set_button(int p_column, int p_index, const Ref<Texture2D> &p_button);
void set_button_color(int p_column, int p_index, const Color &p_color);