Add dialog to allow removal of plugin presets. Should fix #2662.

git-svn-id: svn://localhost/ardour2/branches/3.0@8196 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-12-06 04:29:06 +00:00
parent bf7b8df028
commit 3975355a5f
9 changed files with 167 additions and 3 deletions

View file

@ -103,6 +103,7 @@ class PlugUIBase : public virtual sigc::trackable
boost::shared_ptr<ARDOUR::Plugin> plugin;
Gtk::ComboBoxText preset_combo;
Gtk::Button save_button;
Gtk::Button edit_button;
Gtk::ToggleButton bypass_button;
Gtk::EventBox focus_button;
@ -120,7 +121,8 @@ class PlugUIBase : public virtual sigc::trackable
bool no_load_preset;
void setting_selected();
void save_plugin_setting (void);
void save_plugin_setting ();
void edit_plugin_settings ();
bool focus_toggled(GdkEventButton*);
void bypass_toggled();
void toggle_plugin_analysis ();
@ -129,6 +131,8 @@ class PlugUIBase : public virtual sigc::trackable
PBD::ScopedConnection death_connection;
PBD::ScopedConnection active_connection;
PBD::ScopedConnection preset_added_connection;
PBD::ScopedConnection preset_removed_connection;
PBD::ScopedConnectionList control_connections;
};