diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-06-09 12:59:18 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-06-09 13:12:09 -0400 |
commit | 0678d0ada1bfb1eaebb1e4d761ea0336b3537cbf (patch) | |
tree | d977fe24c8b89d50216ef48ddde93c0da62dd49e /gtk2_ardour/route_ui.cc | |
parent | f26191382f316bac32ed6dff3220528629918b15 (diff) |
use new ControlSlaveUI object in mixer strip
Diffstat (limited to 'gtk2_ardour/route_ui.cc')
-rw-r--r-- | gtk2_ardour/route_ui.cc | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc index 9dc8bd8727..7f43a9e251 100644 --- a/gtk2_ardour/route_ui.cc +++ b/gtk2_ardour/route_ui.cc @@ -153,7 +153,6 @@ RouteUI::init () multiple_mute_change = false; multiple_solo_change = false; _i_am_the_modifier = 0; - vca_button = 0; input_selector = 0; output_selector = 0; @@ -1287,34 +1286,6 @@ RouteUI::update_mute_display () mute_button->set_active_state (mute_active_state (_session, _route)); } -void -RouteUI::update_vca_display () -{ - if (!vca_button) { - return; - } - - VCAList vcas (_session->vca_manager().vcas()); - string label; - - for (VCAList::iterator v = vcas.begin(); v != vcas.end(); ++v) { - if (_route->slaved_to (*v)) { - if (!label.empty()) { - label += ' '; - } - label += PBD::to_string ((*v)->number(), std::dec); - } - } - - if (label.empty()) { - label = _("-vca-"); - vca_button->set_active_state (Gtkmm2ext::Off); - } else { - vca_button->set_active_state (Gtkmm2ext::ExplicitActive); - } - - vca_button->set_text (label); -} void RouteUI::route_rec_enable_changed () |