diff options
| author | Rémi Verschelde | 2017-03-19 00:36:26 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2017-03-19 00:36:26 +0100 |
| commit | f8db8a3faa30b71dca33ced38be16d3f93f43e8a (patch) | |
| tree | 3b798318132cca7eccfbca5818ab55656a2896d7 /scene/gui/container.h | |
| parent | 1d418afe863c9e553b69174ce63aef203c46d2f0 (diff) | |
| download | godot-f8db8a3faa30b71dca33ced38be16d3f93f43e8a.tar.gz godot-f8db8a3faa30b71dca33ced38be16d3f93f43e8a.tar.zst godot-f8db8a3faa30b71dca33ced38be16d3f93f43e8a.zip | |
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.
Diffstat (limited to '')
| -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 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(); }; |
