diff options
author | Robin Gareus <robin@gareus.org> | 2015-05-04 20:52:48 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-05-04 20:52:48 +0200 |
commit | d1334074afd797db9f5ca2643565e18de9a6378e (patch) | |
tree | 917890c8c59f89562bba6116ea9d8a2f0b05f299 /gtk2_ardour | |
parent | 9790d2b5dd4c780b1e1bad58a4cec60ac06a2653 (diff) |
add plugin parameter reset button - closes #6297
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/au_pluginui.mm | 1 | ||||
-rw-r--r-- | gtk2_ardour/generic_pluginui.cc | 5 | ||||
-rw-r--r-- | gtk2_ardour/lv2_plugin_ui.cc | 3 | ||||
-rw-r--r-- | gtk2_ardour/vst_plugin_ui.cc | 3 |
4 files changed, 8 insertions, 4 deletions
diff --git a/gtk2_ardour/au_pluginui.mm b/gtk2_ardour/au_pluginui.mm index 2a4ab747d4..3682788a74 100644 --- a/gtk2_ardour/au_pluginui.mm +++ b/gtk2_ardour/au_pluginui.mm @@ -167,6 +167,7 @@ AUPluginUI::AUPluginUI (boost::shared_ptr<PluginInsert> insert) smaller_hbox->pack_start (automation_mode_label, false, false); smaller_hbox->pack_start (automation_mode_selector, false, false); #endif + smaller_hbox->pack_start (reset_button, false, false); smaller_hbox->pack_start (bypass_button, false, true); VBox* v1_box = manage (new VBox); diff --git a/gtk2_ardour/generic_pluginui.cc b/gtk2_ardour/generic_pluginui.cc index 056aea9753..80bc3ec152 100644 --- a/gtk2_ardour/generic_pluginui.cc +++ b/gtk2_ardour/generic_pluginui.cc @@ -86,13 +86,14 @@ GenericPluginUI::GenericPluginUI (boost::shared_ptr<PluginInsert> pi, bool scrol latency_button.signal_clicked.connect (sigc::mem_fun (*this, &PlugUIBase::latency_button_clicked)); set_latency_label (); - smaller_hbox->pack_start (latency_button, false, false, 10); + smaller_hbox->pack_start (latency_button, false, false, 4); smaller_hbox->pack_start (_preset_combo, false, false); smaller_hbox->pack_start (_preset_modified, false, false); smaller_hbox->pack_start (add_button, false, false); smaller_hbox->pack_start (save_button, false, false); smaller_hbox->pack_start (delete_button, false, false); - smaller_hbox->pack_start (bypass_button, false, true); + smaller_hbox->pack_start (reset_button, false, false, 4); + smaller_hbox->pack_start (bypass_button, false, true, 4); automation_manual_all_button.set_text(_("Manual")); automation_manual_all_button.set_name (X_("generic button")); diff --git a/gtk2_ardour/lv2_plugin_ui.cc b/gtk2_ardour/lv2_plugin_ui.cc index eb22a74e82..d19c7e6f6f 100644 --- a/gtk2_ardour/lv2_plugin_ui.cc +++ b/gtk2_ardour/lv2_plugin_ui.cc @@ -205,7 +205,8 @@ LV2PluginUI::LV2PluginUI(boost::shared_ptr<PluginInsert> pi, _ardour_buttons_box.set_spacing (6); _ardour_buttons_box.set_border_width (6); _ardour_buttons_box.pack_end (focus_button, false, false); - _ardour_buttons_box.pack_end (bypass_button, false, false, 10); + _ardour_buttons_box.pack_end (bypass_button, false, false, 4); + _ardour_buttons_box.pack_end (reset_button, false, false, 4); _ardour_buttons_box.pack_end (delete_button, false, false); _ardour_buttons_box.pack_end (save_button, false, false); _ardour_buttons_box.pack_end (add_button, false, false); diff --git a/gtk2_ardour/vst_plugin_ui.cc b/gtk2_ardour/vst_plugin_ui.cc index 56b8344927..a5e3afe300 100644 --- a/gtk2_ardour/vst_plugin_ui.cc +++ b/gtk2_ardour/vst_plugin_ui.cc @@ -39,7 +39,8 @@ VSTPluginUI::VSTPluginUI (boost::shared_ptr<ARDOUR::PluginInsert> insert, boost: box->set_spacing (6); box->set_border_width (6); box->pack_end (focus_button, false, false); - box->pack_end (bypass_button, false, false, 10); + box->pack_end (bypass_button, false, false, 4); + box->pack_end (reset_button, false, false, 4); box->pack_end (delete_button, false, false); box->pack_end (save_button, false, false); box->pack_end (add_button, false, false); |