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. --- editor/array_property_edit.h | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'editor/array_property_edit.h') diff --git a/editor/array_property_edit.h b/editor/array_property_edit.h index fc74def24..d9ddfb796 100644 --- a/editor/array_property_edit.h +++ b/editor/array_property_edit.h @@ -33,7 +33,7 @@ class ArrayPropertyEdit : public Reference { - OBJ_TYPE(ArrayPropertyEdit,Reference); + OBJ_TYPE(ArrayPropertyEdit, Reference); int page; ObjectID obj; @@ -43,20 +43,18 @@ class ArrayPropertyEdit : public Reference { Variant::Type default_type; void _notif_change(); - void _notif_changev(const String& p_v); + void _notif_changev(const String &p_v); void _set_size(int p_size); - void _set_value(int p_idx,const Variant& p_value); + void _set_value(int p_idx, const Variant &p_value); protected: - static void _bind_methods(); - bool _set(const StringName& p_name, const Variant& p_value); - bool _get(const StringName& p_name,Variant &r_ret) const; - void _get_property_list( List *p_list) const; + bool _set(const StringName &p_name, const Variant &p_value); + bool _get(const StringName &p_name, Variant &r_ret) const; + void _get_property_list(List *p_list) const; public: - - void edit(Object* p_obj, const StringName& p_prop, Variant::Type p_deftype); + void edit(Object *p_obj, const StringName &p_prop, Variant::Type p_deftype); Node *get_node(); -- cgit v1.3.1