-begun implementing drag & drop editor wide
-filesystem dock dnd support -property list dnd support -scene tree dnd support
This commit is contained in:
@ -137,6 +137,10 @@ protected:
|
||||
static void _bind_methods();
|
||||
|
||||
public:
|
||||
|
||||
|
||||
void hide_menu();
|
||||
|
||||
Variant get_variant() const;
|
||||
String get_name() const;
|
||||
|
||||
@ -219,6 +223,15 @@ class PropertyEditor : public Control {
|
||||
|
||||
void _filter_changed(const String& p_text);
|
||||
|
||||
void _mark_drop_fields(TreeItem* p_at);
|
||||
void _clear_drop_fields(TreeItem* p_at);
|
||||
|
||||
bool _is_drop_valid(const Dictionary& p_drag_data, const Dictionary& p_item_data) const;
|
||||
Variant get_drag_data_fw(const Point2& p_point,Control* p_from);
|
||||
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);
|
||||
|
||||
|
||||
UndoRedo *undo_redo;
|
||||
protected:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user