mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
Add A/PFL button to foldback strip
This commit is contained in:
parent
c1f1cd5b3e
commit
aacfc0704d
1 changed files with 10 additions and 6 deletions
|
|
@ -495,6 +495,7 @@ FoldbackStrip::init ()
|
||||||
global_vpacker.pack_end (output_button, Gtk::PACK_SHRINK);
|
global_vpacker.pack_end (output_button, Gtk::PACK_SHRINK);
|
||||||
global_vpacker.pack_end (master_box, Gtk::PACK_SHRINK);
|
global_vpacker.pack_end (master_box, Gtk::PACK_SHRINK);
|
||||||
global_vpacker.pack_end (*_meter, false, false);
|
global_vpacker.pack_end (*_meter, false, false);
|
||||||
|
global_vpacker.pack_end (*solo_button, false, false);
|
||||||
global_vpacker.pack_end (*insert_box, Gtk::PACK_SHRINK);
|
global_vpacker.pack_end (*insert_box, Gtk::PACK_SHRINK);
|
||||||
global_vpacker.pack_end (panners, Gtk::PACK_SHRINK);
|
global_vpacker.pack_end (panners, Gtk::PACK_SHRINK);
|
||||||
|
|
||||||
|
|
@ -620,10 +621,6 @@ FoldbackStrip::set_route (boost::shared_ptr<Route> rt)
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (_route) {
|
|
||||||
// just in case
|
|
||||||
_route->solo_control()->set_value (0.0, Controllable::NoGroup);
|
|
||||||
}
|
|
||||||
|
|
||||||
RouteUI::set_route (rt);
|
RouteUI::set_route (rt);
|
||||||
|
|
||||||
|
|
@ -1576,8 +1573,15 @@ FoldbackStrip::revert_to_default_display ()
|
||||||
void
|
void
|
||||||
FoldbackStrip::set_button_names ()
|
FoldbackStrip::set_button_names ()
|
||||||
{
|
{
|
||||||
// This is called by various places, so it has to be here even if we don't need it
|
solo_button->set_sensitive (Config->get_solo_control_is_listen_control());
|
||||||
return;
|
switch (Config->get_listen_position()) {
|
||||||
|
case AfterFaderListen:
|
||||||
|
solo_button->set_text (_("AFL"));
|
||||||
|
break;
|
||||||
|
case PreFaderListen:
|
||||||
|
solo_button->set_text (_("PFL"));
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginSelector*
|
PluginSelector*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue