aboutsummaryrefslogtreecommitdiff
path: root/editor/array_property_edit.h
diff options
context:
space:
mode:
authorRémi Verschelde2017-03-05 16:44:50 +0100
committerRémi Verschelde2017-03-05 16:44:50 +0100
commit5dbf1809c6e3e905b94b8764e99491e608122261 (patch)
tree5e5a5360db15d86d59ec8c6e4f7eb511388c5a9a /editor/array_property_edit.h
parent45438e9918d421b244bfd7776a30e67dc7f2d3e3 (diff)
downloadgodot-5dbf1809c6e3e905b94b8764e99491e608122261.tar.gz
godot-5dbf1809c6e3e905b94b8764e99491e608122261.tar.zst
godot-5dbf1809c6e3e905b94b8764e99491e608122261.zip
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 6ca700bf8..1461aa52a 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();