diff options
Diffstat (limited to 'scene/gui/container.h')
-rw-r--r-- | scene/gui/container.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/scene/gui/container.h b/scene/gui/container.h index bb47524972..78f647f59d 100644 --- a/scene/gui/container.h +++ b/scene/gui/container.h @@ -33,13 +33,13 @@ class Container : public Control { - GDCLASS(Container,Control); + GDCLASS(Container, Control); bool pending_sort; void _sort_children(); void _child_minsize_changed(); -protected: +protected: void queue_sort(); virtual void add_child_notify(Node *p_child); virtual void move_child_notify(Node *p_child); @@ -47,12 +47,13 @@ protected: void _notification(int p_what); static void _bind_methods(); + public: enum { - NOTIFICATION_SORT_CHILDREN=50 + NOTIFICATION_SORT_CHILDREN = 50 }; - void fit_child_in_rect(Control *p_child,const Rect2& p_rect); + void fit_child_in_rect(Control *p_child, const Rect2 &p_rect); Container(); }; |