summaryrefslogtreecommitdiff
path: root/scene/gui/center_container.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/gui/center_container.h')
-rw-r--r--scene/gui/center_container.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/scene/gui/center_container.h b/scene/gui/center_container.h
index 458e2e7251..9cd9173fab 100644
--- a/scene/gui/center_container.h
+++ b/scene/gui/center_container.h
@@ -36,11 +36,16 @@ class CenterContainer : public Container {
OBJ_TYPE( CenterContainer, Container );
+ bool use_top_left;
protected:
void _notification(int p_what);
+ static void _bind_methods();
public:
+ void set_use_top_left(bool p_enable);
+ bool is_using_top_left() const;
+
virtual Size2 get_minimum_size() const;
CenterContainer();