summaryrefslogtreecommitdiff
path: root/editor/array_property_edit.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/array_property_edit.h')
-rw-r--r--editor/array_property_edit.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/editor/array_property_edit.h b/editor/array_property_edit.h
index 6ca700bf80..1461aa52a3 100644
--- a/editor/array_property_edit.h
+++ b/editor/array_property_edit.h
@@ -33,7 +33,7 @@
class ArrayPropertyEdit : public Reference {
- GDCLASS(ArrayPropertyEdit,Reference);
+ GDCLASS(ArrayPropertyEdit, Reference);
int page;
ObjectID obj;
@@ -46,20 +46,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, const String& p_hint_string, Variant::Type p_deftype);
+ void edit(Object *p_obj, const StringName &p_prop, const String &p_hint_string, Variant::Type p_deftype);
Node *get_node();