diff options
Diffstat (limited to 'editor/property_editor.h')
-rw-r--r-- | editor/property_editor.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/editor/property_editor.h b/editor/property_editor.h index bc2a222714..75c6fd372b 100644 --- a/editor/property_editor.h +++ b/editor/property_editor.h @@ -51,7 +51,6 @@ class CreateDialog; class PropertySelector; class EditorResourceConversionPlugin : public Reference { - GDCLASS(EditorResourceConversionPlugin, Reference); protected: @@ -63,9 +62,8 @@ public: virtual Ref<Resource> convert(const Ref<Resource> &p_resource) const; }; -class CustomPropertyEditor : public Popup { - - GDCLASS(CustomPropertyEditor, Popup); +class CustomPropertyEditor : public PopupPanel { + GDCLASS(CustomPropertyEditor, PopupPanel); enum { MAX_VALUE_EDITORS = 12, @@ -102,6 +100,8 @@ class CustomPropertyEditor : public Popup { List<String> field_names; int hint; String hint_text; + HBoxContainer *value_hboxes[MAX_VALUE_EDITORS / 4]; + VBoxContainer *value_vbox; LineEdit *value_editor[MAX_VALUE_EDITORS]; int focused_value_editor; Label *value_label[MAX_VALUE_EDITORS]; |