- button_table.attach (*solo_button, 0, 1, 4, 5);
- button_table.attach (*mute_button, 1, 2, 4, 5);
-
- // button_table.attach (gain_automation_style_button, 0, 1, 5, 6);
- button_table.attach (gain_automation_state_button, 0, 1, 5, 6);
- // button_table.attach (pan_automation_style_button, 0, 1, 6, 7);
- button_table.attach (pan_automation_state_button, 1, 2, 5, 6);
-
- using namespace Menu_Helpers;
-
- gain_astate_menu.items().push_back (MenuElem (_("off"),
- bind (mem_fun (_route, &IO::set_gain_automation_state), (AutoState) Off)));
- gain_astate_menu.items().push_back (MenuElem (_("play"),
- bind (mem_fun (_route, &IO::set_gain_automation_state), (AutoState) Play)));
- gain_astate_menu.items().push_back (MenuElem (_("write"),
- bind (mem_fun (_route, &IO::set_gain_automation_state), (AutoState) Write)));
- gain_astate_menu.items().push_back (MenuElem (_("touch"),
- bind (mem_fun (_route, &IO::set_gain_automation_state), (AutoState) Touch)));
-
- gain_astyle_menu.items().push_back (MenuElem (_("trim")));
- gain_astyle_menu.items().push_back (MenuElem (_("abs")));
-
- pan_astate_menu.items().push_back (MenuElem (_("off"),
- bind (mem_fun (_route.panner(), &Panner::set_automation_state), (AutoState) Off)));
- pan_astate_menu.items().push_back (MenuElem (_("play"),
- bind (mem_fun (_route.panner(), &Panner::set_automation_state), (AutoState) Play)));
- pan_astate_menu.items().push_back (MenuElem (_("write"),
- bind (mem_fun (_route.panner(), &Panner::set_automation_state), (AutoState) Write)));
- pan_astate_menu.items().push_back (MenuElem (_("touch"),
- bind (mem_fun (_route.panner(), &Panner::set_automation_state), (AutoState) Touch)));
-
- pan_astyle_menu.items().push_back (MenuElem (_("trim")));
- pan_astyle_menu.items().push_back (MenuElem (_("abs")));
-
- gain_astate_menu.set_name ("ArdourContextMenu");
- gain_astyle_menu.set_name ("ArdourContextMenu");
- pan_astate_menu.set_name ("ArdourContextMenu");
- pan_astyle_menu.set_name ("ArdourContextMenu");
-
- ARDOUR_UI::instance()->tooltips().set_tip (gain_automation_style_button, _("gain automation mode"));
- ARDOUR_UI::instance()->tooltips().set_tip (pan_automation_style_button, _("pan automation mode"));
- ARDOUR_UI::instance()->tooltips().set_tip (gain_automation_state_button, _("gain automation state"));
- ARDOUR_UI::instance()->tooltips().set_tip (pan_automation_state_button, _("pan automation state"));
-
- if (is_audio_track()) {
-
- AudioTrack* at = dynamic_cast<AudioTrack*>(&_route);
-
- at->FreezeChange.connect (mem_fun(*this, &MixerStrip::map_frozen));
-
- speed_adjustment.value_changed.connect (mem_fun(*this, &MixerStrip::speed_adjustment_changed));
-
- speed_frame.set_name ("BaseFrame");
- speed_frame.set_shadow_type (Gtk::SHADOW_IN);
- speed_frame.add (speed_spinner);
-
- speed_spinner.set_print_func (speed_printer, 0);
-
- ARDOUR_UI::instance()->tooltips().set_tip (speed_spinner, _("varispeed"));
-
- speed_spinner.show ();
- speed_frame.show ();
-
- button_table.attach (speed_frame, 0, 2, 6, 7);
- button_table.attach (*rec_enable_button, 0, 2, 7, 8);
- }