summaryrefslogtreecommitdiff
path: root/scene/gui/tab_container.h
diff options
context:
space:
mode:
authorvolzhs <volzhs@gmail.com>2020-12-06 03:12:24 +0900
committervolzhs <volzhs@gmail.com>2020-12-10 07:47:10 +0900
commit814f9015f8cf6ea5cfd440b7a8045ed6a56a4ca1 (patch)
treee745accc4c3877fab9f787262641bc3d65495d4a /scene/gui/tab_container.h
parentc574b4d086a9d14123c6034be5048a24ff06c910 (diff)
Add option to draw all tabs in front
Diffstat (limited to 'scene/gui/tab_container.h')
-rw-r--r--scene/gui/tab_container.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/gui/tab_container.h b/scene/gui/tab_container.h
index 2fef606551..91153e5fc3 100644
--- a/scene/gui/tab_container.h
+++ b/scene/gui/tab_container.h
@@ -52,6 +52,7 @@ private:
int current;
int previous;
bool tabs_visible;
+ bool all_tabs_in_front;
bool buttons_visible_cache;
bool menu_hovered;
int highlight_arrow;
@@ -94,6 +95,9 @@ public:
void set_tabs_visible(bool p_visible);
bool are_tabs_visible() const;
+ void set_all_tabs_in_front(bool p_is_front);
+ bool is_all_tabs_in_front() const;
+
void set_tab_title(int p_tab, const String &p_title);
String get_tab_title(int p_tab) const;