summaryrefslogtreecommitdiffstats
path: root/scene/gui/tab_container.h
diff options
context:
space:
mode:
authorDavid Giardi <david.giardi.eng@gmail.com>2023-03-09 03:52:57 +0100
committerDavid Giardi <david.giardi.eng@gmail.com>2023-04-19 01:38:09 +0200
commit9f1e18e64ceb09cfeedd0a341de298e3ef806976 (patch)
tree4f4cc061736fdce2b9e3fee05e07ba2b881a5210 /scene/gui/tab_container.h
parent06f5b09ca493d1de5dd4bec97bdb6b9ad4fb1d29 (diff)
downloadredot-engine-9f1e18e64ceb09cfeedd0a341de298e3ef806976.tar.gz
Add theming support for hovered tabs
Tabs can now be styled differently when hovered by the mouse pointer.
Diffstat (limited to 'scene/gui/tab_container.h')
-rw-r--r--scene/gui/tab_container.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/tab_container.h b/scene/gui/tab_container.h
index f64f1fe2a3..ca605a9b79 100644
--- a/scene/gui/tab_container.h
+++ b/scene/gui/tab_container.h
@@ -63,6 +63,7 @@ class TabContainer : public Container {
int outline_size = 0;
Ref<StyleBox> tab_unselected_style;
+ Ref<StyleBox> tab_hovered_style;
Ref<StyleBox> tab_selected_style;
Ref<StyleBox> tab_disabled_style;