summaryrefslogtreecommitdiff
path: root/scene/gui/separator.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/gui/separator.h')
-rw-r--r--scene/gui/separator.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/scene/gui/separator.h b/scene/gui/separator.h
index e6578a4d04..44e18a3f00 100644
--- a/scene/gui/separator.h
+++ b/scene/gui/separator.h
@@ -35,8 +35,16 @@
class Separator : public Control {
GDCLASS(Separator, Control);
+ struct ThemeCache {
+ int separation = 0;
+ Ref<StyleBox> separator_style;
+ } theme_cache;
+
protected:
Orientation orientation = Orientation::HORIZONTAL;
+
+ virtual void _update_theme_item_cache() override;
+
void _notification(int p_what);
public: