- transport_tearoff->Detach.connect (sigc::bind (sigc::mem_fun(*this, &ARDOUR_UI::detach_tearoff), static_cast<Box*>(&top_packer),
- static_cast<Widget*>(&transport_frame)));
- transport_tearoff->Attach.connect (sigc::bind (sigc::mem_fun(*this, &ARDOUR_UI::reattach_tearoff), static_cast<Box*> (&top_packer),
- static_cast<Widget*> (&transport_frame), 1));
- transport_tearoff->Hidden.connect (sigc::bind (sigc::mem_fun(*this, &ARDOUR_UI::detach_tearoff), static_cast<Box*>(&top_packer),
- static_cast<Widget*>(&transport_frame)));
- transport_tearoff->Visible.connect (sigc::bind (sigc::mem_fun(*this, &ARDOUR_UI::reattach_tearoff), static_cast<Box*> (&top_packer),
- static_cast<Widget*> (&transport_frame), 1));
-
- shuttle_box.set_name ("TransportButton");
- goto_start_button.set_name ("TransportButton");
- goto_end_button.set_name ("TransportButton");
- roll_button.set_name ("TransportButton");
- stop_button.set_name ("TransportButton");
- play_selection_button.set_name ("TransportButton");
- rec_button.set_name ("TransportRecButton");
- auto_loop_button.set_name ("TransportButton");
- join_play_range_button.set_name ("TransportButton");
-
- auto_return_button.set_name ("TransportButton");
- auto_play_button.set_name ("TransportButton");
- auto_input_button.set_name ("TransportButton");
- punch_in_button.set_name ("TransportButton");
- punch_out_button.set_name ("TransportButton");
- click_button.set_name ("TransportButton");
- time_master_button.set_name ("TransportButton");
- sync_button.set_name ("TransportSyncButton");
-
- stop_button.set_size_request(29, -1);
- roll_button.set_size_request(29, -1);
- auto_loop_button.set_size_request(29, -1);
- play_selection_button.set_size_request(29, -1);
- goto_start_button.set_size_request(29, -1);
- goto_end_button.set_size_request(29, -1);
- rec_button.set_size_request(29, -1);
-
- Widget* w;
-
- stop_button.set_visual_state (1);
-
- w = manage (new Image (get_icon (X_("transport_start"))));
- w->show();
- goto_start_button.add (*w);
- w = manage (new Image (get_icon (X_("transport_end"))));
- w->show();
- goto_end_button.add (*w);
- w = manage (new Image (get_icon (X_("transport_play"))));
- w->show();
- roll_button.add (*w);
- w = manage (new Image (get_icon (X_("transport_stop"))));
- w->show();
- stop_button.add (*w);
- w = manage (new Image (get_icon (X_("transport_range"))));
- w->show();
- play_selection_button.add (*w);
- w = manage (new Image (get_icon (X_("transport_record"))));
- w->show();
- rec_button.add (*w);
- w = manage (new Image (get_icon (X_("transport_loop"))));
- w->show();
- auto_loop_button.add (*w);
- w = manage (new Image (get_icon (X_("join_tools"))));
- w->show ();
- join_play_range_button.add (*w);