allow creating plugin-presets by dragging a plugin to the sidebar

This commit is contained in:
Robin Gareus 2015-12-28 04:11:45 +01:00
parent 0aba08594c
commit 4758de37cd
4 changed files with 63 additions and 0 deletions

View file

@ -119,6 +119,8 @@ public:
bool is_selectable() const {return _selectable;}
void set_selectable(bool s) { _selectable = s; }
bool drag_data_get (Glib::RefPtr<Gdk::DragContext> const, Gtk::SelectionData &);
enum Position {
PreFader,
Fader,
@ -165,6 +167,7 @@ private:
PBD::ScopedConnection active_connection;
PBD::ScopedConnection name_connection;
PBD::ScopedConnection config_connection;
ARDOUR::PluginPresetPtr _plugin_preset_pointer;
class Control : public sigc::trackable {
public: