summaryrefslogtreecommitdiff
path: root/scene/gui/split_container.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/gui/split_container.h')
-rw-r--r--scene/gui/split_container.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/scene/gui/split_container.h b/scene/gui/split_container.h
index a69ffe4de9..18f9573973 100644
--- a/scene/gui/split_container.h
+++ b/scene/gui/split_container.h
@@ -55,12 +55,20 @@ private:
DraggerVisibility dragger_visibility = DRAGGER_VISIBLE;
bool mouse_inside = false;
+ struct ThemeCache {
+ int separation = 0;
+ int autohide = 0;
+ Ref<Texture2D> grabber_icon;
+ } theme_cache;
+
Control *_getch(int p_idx) const;
void _resort();
protected:
virtual void gui_input(const Ref<InputEvent> &p_event) override;
+ virtual void _update_theme_item_cache() override;
+
void _notification(int p_what);
static void _bind_methods();