summaryrefslogtreecommitdiff
path: root/scene/gui/tab_container.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-09-24 10:45:40 +0200
committerGitHub <noreply@github.com>2019-09-24 10:45:40 +0200
commita7b95d1934f1379f302cd0c3c90a0b7f8f825773 (patch)
treea9156d9638c54d79d6b7cd850f5eac4eef3cb624 /scene/gui/tab_container.h
parent73c7b9a69e661f5a8173c9ffeeadb4c00056ca5d (diff)
parent94ad89a5fbee40c9c506cf6fdcb5edff528104e2 (diff)
Merge pull request #32267 from YeldhamDev/fix_tab_icons
Fix various problems with tab-related icons
Diffstat (limited to 'scene/gui/tab_container.h')
-rw-r--r--scene/gui/tab_container.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/scene/gui/tab_container.h b/scene/gui/tab_container.h
index 0314f86837..0c17ebc3ae 100644
--- a/scene/gui/tab_container.h
+++ b/scene/gui/tab_container.h
@@ -46,7 +46,6 @@ public:
};
private:
- int mouse_x_cache;
int first_tab_cache;
int tabs_ofs_cache;
int last_tab_cache;
@@ -54,6 +53,8 @@ private:
int previous;
bool tabs_visible;
bool buttons_visible_cache;
+ bool menu_hovered;
+ int highlight_arrow;
TabAlign align;
Control *_get_tab(int p_idx) const;
int _get_top_margin() const;
@@ -65,6 +66,7 @@ private:
Vector<Control *> _get_tabs() const;
int _get_tab_width(int p_index) const;
void _on_theme_changed();
+ void _on_mouse_exited();
void _update_current_tab();
protected: