diff options
Diffstat (limited to 'editor/editor_properties.h')
-rw-r--r-- | editor/editor_properties.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/editor/editor_properties.h b/editor/editor_properties.h index 7cd94f25f8..19884cc9dc 100644 --- a/editor/editor_properties.h +++ b/editor/editor_properties.h @@ -484,6 +484,7 @@ class EditorPropertyResource : public EditorProperty { EditorInspector *sub_inspector; bool use_sub_inspector; + bool dropping; String base_type; SceneTreeDialog *scene_tree; @@ -500,6 +501,12 @@ class EditorPropertyResource : public EditorProperty { void _sub_inspector_resource_selected(const RES &p_resource, const String &p_property); void _sub_inspector_object_id_selected(int p_id); + void _button_draw(); + Variant get_drag_data_fw(const Point2 &p_point, Control *p_from); + bool _is_drop_valid(const Dictionary &p_drag_data) const; + bool can_drop_data_fw(const Point2 &p_point, const Variant &p_data, Control *p_from) const; + void drop_data_fw(const Point2 &p_point, const Variant &p_data, Control *p_from); + protected: static void _bind_methods(); void _notification(int p_what); |