mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 21:55:43 +01:00
refactor Processor-Box plugin drag/drop: allow presets
This commit is contained in:
parent
b92f208b52
commit
e762fe36be
2 changed files with 89 additions and 50 deletions
|
|
@ -348,6 +348,11 @@ class ProcessorBox : public Gtk::HBox, public PluginInterestedObject, public ARD
|
|||
Gtkmm2ext::DnDVBox<ProcessorEntry> processor_display;
|
||||
Gtk::ScrolledWindow processor_scroller;
|
||||
|
||||
boost::shared_ptr<ARDOUR::Processor> find_drop_position (ProcessorEntry* position);
|
||||
|
||||
void _drop_plugin_preset (Gtk::SelectionData const &, ARDOUR::Route::ProcessorList &);
|
||||
void _drop_plugin (Gtk::SelectionData const &, ARDOUR::Route::ProcessorList &);
|
||||
|
||||
void plugin_drop (Gtk::SelectionData const &, ProcessorEntry* position, Glib::RefPtr<Gdk::DragContext> const & context);
|
||||
void object_drop (Gtkmm2ext::DnDVBox<ProcessorEntry> *, ProcessorEntry *, Glib::RefPtr<Gdk::DragContext> const &);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue