diff options
| author | Ray Koopa | 2017-02-27 19:07:50 +0100 |
|---|---|---|
| committer | Ray Koopa | 2017-02-27 19:07:50 +0100 |
| commit | 5cf063ca9de6cefb30f20f161efa74e2b192e5f7 (patch) | |
| tree | 085e8f90436ca85420f8d20b508b1df93477f4a3 /scene/gui/tabs.h | |
| parent | 55ce8e6ce929f6ff58f9fed8a0a547883deaccb8 (diff) | |
| download | godot-5cf063ca9de6cefb30f20f161efa74e2b192e5f7.tar.gz godot-5cf063ca9de6cefb30f20f161efa74e2b192e5f7.tar.zst godot-5cf063ca9de6cefb30f20f161efa74e2b192e5f7.zip | |
Diffstat (limited to 'scene/gui/tabs.h')
| -rw-r--r-- | scene/gui/tabs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/gui/tabs.h b/scene/gui/tabs.h index 9ba32297d..83dcce261 100644 --- a/scene/gui/tabs.h +++ b/scene/gui/tabs.h @@ -57,6 +57,7 @@ private: String text; Ref<Texture> icon; int ofs_cache; + bool disabled; int size_cache; int x_cache; int x_size_cache; @@ -105,6 +106,9 @@ public: void set_tab_icon(int p_tab,const Ref<Texture>& p_icon); Ref<Texture> get_tab_icon(int p_tab) const; + + void set_tab_disabled(int p_tab, bool p_disabled); + bool get_tab_disabled(int p_tab) const; void set_tab_right_button(int p_tab,const Ref<Texture>& p_right_button); Ref<Texture> get_tab_right_button(int p_tab) const; |
