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 /editor/array_property_edit.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 'editor/array_property_edit.h')
| -rw-r--r-- | editor/array_property_edit.h | 16 |
1 files changed, 7 insertions, 9 deletions
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<PropertyInfo> *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<PropertyInfo> *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(); |
