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.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/scene/gui/separator.h b/scene/gui/separator.h
index 1621bb3351..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:
@@ -60,4 +68,4 @@ public:
HSeparator();
};
-#endif
+#endif // SEPARATOR_H