summaryrefslogtreecommitdiff
path: root/tools/editor/property_editor.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-08-23 19:29:07 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-08-23 19:29:07 -0300
commitad8f208bdbcd9d3334c4d57d2e5554dfdb3a36d0 (patch)
tree7724895bd5694ac68e121e35b7f89824e9b61906 /tools/editor/property_editor.h
parent965fcf5996c734507fe548331597097e06b69ce2 (diff)
Proper function/property selection in visual script editing for property.
This one has an ordered list, built-in description, search, etc.
Diffstat (limited to 'tools/editor/property_editor.h')
-rw-r--r--tools/editor/property_editor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/editor/property_editor.h b/tools/editor/property_editor.h
index d911aae883..6c6c309d32 100644
--- a/tools/editor/property_editor.h
+++ b/tools/editor/property_editor.h
@@ -49,6 +49,8 @@
class PropertyValueEvaluator;
class CreateDialog;
+class PropertySelector;
+
class CustomPropertyEditor : public Popup {
OBJ_TYPE( CustomPropertyEditor, Popup );
@@ -103,6 +105,7 @@ class CustomPropertyEditor : public Popup {
Control *easing_draw;
CreateDialog *create_dialog;
+ PropertySelector *property_select;
Object* owner;
@@ -120,6 +123,7 @@ class CustomPropertyEditor : public Popup {
void _action_pressed(int p_which);
void _type_create_selected(int p_idx);
void _create_dialog_callback();
+ void _create_selected_property(const String &p_prop);
void _color_changed(const Color& p_color);