13
0

(hopefully) less ambiguous wording of processed stem exports. Update the info text when checkbox state is changed

This commit is contained in:
Ben Loftis 2015-08-04 14:49:27 -05:00
parent 2e8e23fac3
commit 3cbd73de49
2 changed files with 13 additions and 6 deletions

View File

@ -539,8 +539,7 @@ RegionExportChannelSelector::handle_selection ()
TrackExportChannelSelector::TrackExportChannelSelector (ARDOUR::Session * session, ProfileManagerPtr manager) TrackExportChannelSelector::TrackExportChannelSelector (ARDOUR::Session * session, ProfileManagerPtr manager)
: ExportChannelSelector(session, manager) : ExportChannelSelector(session, manager)
, region_contents_button(source_group, _("Export region contents")) , track_output_button(_("Apply track/bus processing"))
, track_output_button(source_group, _("Export track output"))
, select_tracks_button (_("Select all tracks")) , select_tracks_button (_("Select all tracks"))
, select_busses_button (_("Select all busses")) , select_busses_button (_("Select all busses"))
, select_none_button (_("Deselect all")) , select_none_button (_("Deselect all"))
@ -548,7 +547,6 @@ TrackExportChannelSelector::TrackExportChannelSelector (ARDOUR::Session * sessio
pack_start(main_layout); pack_start(main_layout);
// Options // Options
options_box.pack_start(region_contents_button);
options_box.pack_start(track_output_button); options_box.pack_start(track_output_button);
options_box.pack_start (select_tracks_button); options_box.pack_start (select_tracks_button);
options_box.pack_start (select_busses_button); options_box.pack_start (select_busses_button);
@ -588,6 +586,8 @@ TrackExportChannelSelector::TrackExportChannelSelector (ARDOUR::Session * sessio
select_busses_button.signal_clicked().connect (sigc::mem_fun (*this, &TrackExportChannelSelector::select_busses)); select_busses_button.signal_clicked().connect (sigc::mem_fun (*this, &TrackExportChannelSelector::select_busses));
select_none_button.signal_clicked().connect (sigc::mem_fun (*this, &TrackExportChannelSelector::select_none)); select_none_button.signal_clicked().connect (sigc::mem_fun (*this, &TrackExportChannelSelector::select_none));
track_output_button.signal_clicked().connect (sigc::mem_fun (*this, &TrackExportChannelSelector::track_outputs_selected));
fill_list(); fill_list();
show_all_children (); show_all_children ();
@ -638,6 +638,12 @@ TrackExportChannelSelector::select_none ()
update_config(); update_config();
} }
void
TrackExportChannelSelector::track_outputs_selected ()
{
update_config();
}
void void
TrackExportChannelSelector::fill_list() TrackExportChannelSelector::fill_list()
{ {
@ -716,6 +722,7 @@ TrackExportChannelSelector::update_config()
} }
state->config->set_name (route->name()); state->config->set_name (route->name());
} }
CriticalSelectionChanged (); CriticalSelectionChanged ();

View File

@ -263,15 +263,15 @@ class TrackExportChannelSelector : public ExportChannelSelector
Gtk::ScrolledWindow track_scroller; Gtk::ScrolledWindow track_scroller;
Gtk::HBox options_box; Gtk::HBox options_box;
Gtk::RadioButton::Group source_group; Gtk::CheckButton track_output_button;
Gtk::RadioButton region_contents_button;
Gtk::RadioButton track_output_button;
Gtk::Button select_tracks_button; Gtk::Button select_tracks_button;
Gtk::Button select_busses_button; Gtk::Button select_busses_button;
Gtk::Button select_none_button; Gtk::Button select_none_button;
void select_tracks (); void select_tracks ();
void select_busses (); void select_busses ();
void select_none (); void select_none ();
void track_outputs_selected ();
}; };
#endif /* __export_channel_selector_h__ */ #endif /* __export_channel_selector_h__ */