1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

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
5dbf1809c6.
This commit is contained in:
Rémi Verschelde
2017-03-19 00:36:26 +01:00
parent 1d418afe86
commit f8db8a3faa
1308 changed files with 147754 additions and 174357 deletions

View File

@@ -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();