From f8db8a3faa30b71dca33ced38be16d3f93f43e8a Mon Sep 17 00:00:00 2001 From: Rémi Verschelde Date: Sun, 19 Mar 2017 00:36:26 +0100 Subject: Bring that Whole New World to the Old Continent too Applies the clang-format style to the 2.1 branch as done for master in 5dbf1809c6e3e905b94b8764e99491e608122261. --- scene/gui/container.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'scene/gui/container.h') diff --git a/scene/gui/container.h b/scene/gui/container.h index 23693a7fd..12fd74b48 100644 --- a/scene/gui/container.h +++ b/scene/gui/container.h @@ -33,13 +33,13 @@ class Container : public Control { - OBJ_TYPE(Container,Control); + OBJ_TYPE(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(); }; -- cgit v1.2.3-70-g09d2