mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
add plugin parameter reset button - closes #6297
This commit is contained in:
parent
9790d2b5dd
commit
d1334074af
4 changed files with 8 additions and 4 deletions
|
|
@ -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_label, false, false);
|
||||||
smaller_hbox->pack_start (automation_mode_selector, false, false);
|
smaller_hbox->pack_start (automation_mode_selector, false, false);
|
||||||
#endif
|
#endif
|
||||||
|
smaller_hbox->pack_start (reset_button, false, false);
|
||||||
smaller_hbox->pack_start (bypass_button, false, true);
|
smaller_hbox->pack_start (bypass_button, false, true);
|
||||||
|
|
||||||
VBox* v1_box = manage (new VBox);
|
VBox* v1_box = manage (new VBox);
|
||||||
|
|
|
||||||
|
|
@ -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));
|
latency_button.signal_clicked.connect (sigc::mem_fun (*this, &PlugUIBase::latency_button_clicked));
|
||||||
set_latency_label ();
|
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_combo, false, false);
|
||||||
smaller_hbox->pack_start (_preset_modified, false, false);
|
smaller_hbox->pack_start (_preset_modified, false, false);
|
||||||
smaller_hbox->pack_start (add_button, false, false);
|
smaller_hbox->pack_start (add_button, false, false);
|
||||||
smaller_hbox->pack_start (save_button, false, false);
|
smaller_hbox->pack_start (save_button, false, false);
|
||||||
smaller_hbox->pack_start (delete_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_text(_("Manual"));
|
||||||
automation_manual_all_button.set_name (X_("generic button"));
|
automation_manual_all_button.set_name (X_("generic button"));
|
||||||
|
|
|
||||||
|
|
@ -205,7 +205,8 @@ LV2PluginUI::LV2PluginUI(boost::shared_ptr<PluginInsert> pi,
|
||||||
_ardour_buttons_box.set_spacing (6);
|
_ardour_buttons_box.set_spacing (6);
|
||||||
_ardour_buttons_box.set_border_width (6);
|
_ardour_buttons_box.set_border_width (6);
|
||||||
_ardour_buttons_box.pack_end (focus_button, false, false);
|
_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 (delete_button, false, false);
|
||||||
_ardour_buttons_box.pack_end (save_button, false, false);
|
_ardour_buttons_box.pack_end (save_button, false, false);
|
||||||
_ardour_buttons_box.pack_end (add_button, false, false);
|
_ardour_buttons_box.pack_end (add_button, false, false);
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,8 @@ VSTPluginUI::VSTPluginUI (boost::shared_ptr<ARDOUR::PluginInsert> insert, boost:
|
||||||
box->set_spacing (6);
|
box->set_spacing (6);
|
||||||
box->set_border_width (6);
|
box->set_border_width (6);
|
||||||
box->pack_end (focus_button, false, false);
|
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 (delete_button, false, false);
|
||||||
box->pack_end (save_button, false, false);
|
box->pack_end (save_button, false, false);
|
||||||
box->pack_end (add_button, false, false);
|
box->pack_end (add_button, false, false);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue