summaryrefslogtreecommitdiff
path: root/scene/gui/panel.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/gui/panel.h')
-rw-r--r--scene/gui/panel.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/scene/gui/panel.h b/scene/gui/panel.h
index 5d2e912680..f9bd721681 100644
--- a/scene/gui/panel.h
+++ b/scene/gui/panel.h
@@ -36,7 +36,13 @@
class Panel : public Control {
GDCLASS(Panel, Control);
+ struct ThemeCache {
+ Ref<StyleBox> panel_style;
+ } theme_cache;
+
protected:
+ virtual void _update_theme_item_cache() override;
+
void _notification(int p_what);
public: