13
0

add the track visibility widgets to the toolbar

This commit is contained in:
Paul Davis 2024-04-25 08:10:26 -06:00
parent ecb88b0151
commit b6ca43943b
4 changed files with 5 additions and 3 deletions

View File

@ -494,6 +494,7 @@ ARDOUR_UI::livetrax_setup_windows ()
editor->_zoom_box.pack_start (*livetrax_view_in_folder_button, false, false, 12); editor->_zoom_box.pack_start (*livetrax_view_in_folder_button, false, false, 12);
livetrax_transport_bar.pack_end (editor->_zoom_box, false, false); livetrax_transport_bar.pack_end (editor->_zoom_box, false, false);
livetrax_transport_bar.pack_end (editor->_track_box, false, false);
livetrax_transport_bar.show_all (); livetrax_transport_bar.show_all ();
/* meter display */ /* meter display */

View File

@ -3566,7 +3566,9 @@ Editor::setup_toolbar ()
toolbar_hbox.pack_end (_zoom_box, false, false, 2); toolbar_hbox.pack_end (_zoom_box, false, false, 2);
} }
toolbar_hbox.pack_end (*(manage (new ArdourVSpacer ())), false, false, 3); toolbar_hbox.pack_end (*(manage (new ArdourVSpacer ())), false, false, 3);
toolbar_hbox.pack_end (_track_box, false, false); if (!Profile->get_livetrax()) {
toolbar_hbox.pack_end (_track_box, false, false);
}
toolbar_hbox.show_all (); toolbar_hbox.show_all ();
} }

View File

@ -2073,8 +2073,6 @@ private:
void marker_click_behavior_chosen (Editing::MarkerClickBehavior); void marker_click_behavior_chosen (Editing::MarkerClickBehavior);
void marker_click_behavior_selection_done (Editing::MarkerClickBehavior); void marker_click_behavior_selection_done (Editing::MarkerClickBehavior);
Gtk::HBox _track_box;
void zoom_adjustment_changed(); void zoom_adjustment_changed();
void setup_toolbar (); void setup_toolbar ();

View File

@ -605,6 +605,7 @@ public:
virtual SelectionPropertiesBox& properties_box() const = 0; virtual SelectionPropertiesBox& properties_box() const = 0;
Gtk::HBox* mouse_mode_hbox; Gtk::HBox* mouse_mode_hbox;
Gtk::HBox _zoom_box; Gtk::HBox _zoom_box;
Gtk::HBox _track_box;
/** the adjustment that controls the overall editor vertical scroll position */ /** the adjustment that controls the overall editor vertical scroll position */
Gtk::Adjustment vertical_adjustment; Gtk::Adjustment vertical_adjustment;
Gtk::Adjustment horizontal_adjustment; Gtk::Adjustment horizontal_adjustment;