1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 00:03:52 +02:00

Add custom track name defaults to preferences

This commit is contained in:
Steve Daulton
2016-01-16 14:44:45 +00:00
parent 1d6d08c47d
commit 8a6edf3623
6 changed files with 120 additions and 8 deletions

View File

@@ -30,8 +30,6 @@
#include "../Experimental.h"
////////////////////////////////////////////////////////////////////////////////
TracksPrefs::TracksPrefs(wxWindow * parent)
: PrefsPanel(parent, _("Tracks"))
{
@@ -96,15 +94,23 @@ void TracksPrefs::PopulateOrExchange(ShuttleGui & S)
S.StartMultiColumn(2);
{
S.TieChoice(_("Default &View Mode:"),
S.TieChoice(_("Default &view mode:"),
wxT("/GUI/DefaultViewModeNew"),
0,
mViewChoices,
mViewCodes);
S.SetSizeHints(mViewChoices);
S.TieTextBox(_("Default audio track &name:"),
wxT("/GUI/TrackNames/DefaultTrackName"),
_("Audio Track"),
30);
}
S.EndMultiColumn();
S.TieCheckBox(_("Sho&w track name in waveform display"),
wxT("/GUI/ShowTrackNameInWaveform"),
false);
}
S.EndStatic();