diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2017-08-22 16:20:26 -0500 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2017-08-22 16:20:26 -0500 |
commit | 337d5b3e4a559628413e025b5ddeb56240169d80 (patch) | |
tree | 8ebd3e1d258eaba2c150c61e59459d1e8dcfc22d /gtk2_ardour/add_route_dialog.cc | |
parent | c0e513de761c2a56f9243ec84a859053d60b6873 (diff) |
Track Templates: Add verbose descriptions for the built-in track types.
Diffstat (limited to 'gtk2_ardour/add_route_dialog.cc')
-rw-r--r-- | gtk2_ardour/add_route_dialog.cc | 100 |
1 files changed, 88 insertions, 12 deletions
diff --git a/gtk2_ardour/add_route_dialog.cc b/gtk2_ardour/add_route_dialog.cc index 10198134dc..3828635061 100644 --- a/gtk2_ardour/add_route_dialog.cc +++ b/gtk2_ardour/add_route_dialog.cc @@ -58,7 +58,7 @@ using namespace ARDOUR; using namespace ARDOUR_UI_UTILS; std::vector<std::string> AddRouteDialog::channel_combo_strings; -std::vector<std::string> AddRouteDialog::builtin_types; +std::vector<std::pair<std::string,std::string> > AddRouteDialog::builtin_types; AddRouteDialog::AddRouteDialog () : ArdourDialog (_("Add Track/Bus/VCA")) @@ -88,12 +88,88 @@ AddRouteDialog::AddRouteDialog () refill_track_modes (); if (builtin_types.empty()) { - builtin_types.push_back (_("Audio Tracks")); - builtin_types.push_back (_("MIDI Tracks")); - builtin_types.push_back (_("Audio+MIDI Tracks")); - builtin_types.push_back (_("Audio Busses")); - builtin_types.push_back (_("MIDI Busses")); - builtin_types.push_back (_("VCA Masters")); + builtin_types.push_back ( + std::pair<string,string>(_("Audio Tracks"), _( " \ +Use the settings, below, to create 1 or more new Audio tracks.\n \ +\n\n \ +You may select:\n \ +* The number of tracks to add.\n \ +* A Name for the new track(s).\n \ +* Mono, Stereo, or Multichannel operation for the new track(s).\n \ +* A Group which the track will be assigned to.\n \ +* The Pin Connections mode. (see tooltip for details).\n \ +* Normal (non-destructive) or Tape (destructive) recording mode.\n \ +\n \ +The track will be added in the location specified by \"Position\".\n \ +") + )); + builtin_types.push_back ( + std::pair<string,string>(_("MIDI Tracks"), _(" \ +Use the settings, below, to create 1 or more new MIDI tracks.\n \ +\n\n \ +You may select:\n \ +* The number of tracks to add.\n \ +* A Name for the track(s).\n \ +* An Instrument plugin (or select \"None\" to drive an external device)\n \ +* A Group which the track will be assigned to.\n \ +* The Pin Connections mode. (see tooltip for details)\n \ +\n \ +The track will be added in the location specified by \"Position\".\n \ +") + )); + builtin_types.push_back ( + std::pair<string,string>(_("Audio+MIDI Tracks"), _(" \ +Use the settings, below, to create 1 or more new Audio+MIDI tracks.\n \ +\n\n \ +You may select:\n \ +* The number of tracks to add.\n \ +* A Name for the track(s).\n \ +* An Instrument plugin (or select \"None\" to drive an external device)\n \ +* A Group which will be assigned to the track(s).\n \ +* Pin Connections mode. (see tooltip for details).\n \ +* Normal (non-destructive) or Tape (destructive) recording mode.\n \ +\n \ +The track will be added in the location specified by \"Position\".\n \ +") + )); + builtin_types.push_back ( + std::pair<string,string>(_("Audio Busses"), _(" \ +Use the settings, below, to create new Audio Tracks.\n \ +\n\n \ +You may select:\n \ +* The number of buses to add.\n \ +* A Name for the track(s).\n \ +* An Instrument plugin (or select \"None\" to drive an external device)\n \ +* A Group which will be assigned to the track(s).\n \ +* Pin Connections mode. (see tooltip for details).\n \ +* Normal (non-destructive) or Tape (destructive) recording mode.\n \ +\n \ +The track will be added in the location specified by \"Position\".\n \ +") + )); + builtin_types.push_back ( + std::pair<string,string>(_("MIDI Busses"), _(" \ +Use the settings, below, to create new Audio Tracks.\n \ +\n\n \ +You may select:\n \ +* The number of buses to add.\n \ +* A Name for the track(s).\n \ +* An Instrument plugin (or select \"None\" to drive an external device)\n \ +* A Group which will be assigned to the track(s).\n \ +* Pin Connections mode. (see tooltip for details).\n \ +\n \ +The track will be added in the location specified by \"Position\".\n \ +") + )); + builtin_types.push_back ( + std::pair<string,string>(_("VCA Masters"), _(" \ +Use the settings, below, to create 1 or more VCA Master(s).\n \ +\n\n \ +You may select:\n \ +* The number of buses to add.\n \ +* A name for the new VCAs. \"%n\" will be replaced by an index number for each VCA.\n \ +") + )); } insert_at_combo.append_text (_("First")); @@ -549,8 +625,8 @@ AddRouteDialog::track_type_chosen () strict_io_label.set_sensitive (true); strict_io_combo.set_sensitive (true); - insert_label.set_sensitive (false); - insert_at_combo.set_sensitive (false); + insert_label.set_sensitive (true); + insert_at_combo.set_sensitive (true); break; case MidiTrack: @@ -841,11 +917,11 @@ AddRouteDialog::refill_channel_setups () trk_template_model->clear(); bool selected_default = false; - for (std::vector<std::string>::const_iterator i = builtin_types.begin(); i != builtin_types.end(); ++i) { + for (std::vector<std::pair<std::string,std::string> >::const_iterator i = builtin_types.begin(); i != builtin_types.end(); ++i) { TreeModel::Row row = *(trk_template_model->append ()); - row[track_template_columns.name] = (*i); + row[track_template_columns.name] = (*i).first; row[track_template_columns.path] = ""; - row[track_template_columns.description] = _("Use the controls below"); + row[track_template_columns.description] = (*i).second; row[track_template_columns.created_with] = ""; if (!selected_default && !Profile->get_mixbus ()) { |