1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

IdentInterfaceSymbol to distinguish internal vs visible enum settings

This commit is contained in:
Paul Licameli
2018-03-26 22:03:45 -04:00
parent 595cf05d42
commit 2065eebff6
21 changed files with 205 additions and 198 deletions

View File

@@ -236,12 +236,12 @@ enum kColours
nColours
};
static const wxString kColourStrings[nColours] =
static const IdentInterfaceSymbol kColourStrings[nColours] =
{
XO("Color0"),
XO("Color1"),
XO("Color2"),
XO("Color3"),
{ XO("Color0") },
{ XO("Color1") },
{ XO("Color2") },
{ XO("Color3") },
};
@@ -252,10 +252,10 @@ enum kDisplayTypes
nDisplayTypes
};
static const wxString kDisplayTypeStrings[nDisplayTypes] =
static const IdentInterfaceSymbol kDisplayTypeStrings[nDisplayTypes] =
{
XO("Waveform"),
XO("Spectrogram"),
{ XO("Waveform") },
{ XO("Spectrogram") },
};
enum kScaleTypes
@@ -265,10 +265,10 @@ enum kScaleTypes
nScaleTypes
};
static const wxString kScaleTypeStrings[nScaleTypes] =
static const IdentInterfaceSymbol kScaleTypeStrings[nScaleTypes] =
{
XO("Linear"),
XO("dB"),
{ XO("Linear") },
{ XO("dB") },
};
enum kZoomTypes
@@ -279,11 +279,11 @@ enum kZoomTypes
nZoomTypes
};
static const wxString kZoomTypeStrings[nZoomTypes] =
static const IdentInterfaceSymbol kZoomTypeStrings[nZoomTypes] =
{
XO("Reset"),
XO("Times2"),
XO("HalfWave"),
{ XO("Reset") },
{ XO("Times2") },
{ XO("HalfWave") },
};
bool SetTrackVisualsCommand::DefineParams( ShuttleParams & S ){