1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 22:12:58 +02:00

"Hi Contrast" -> "High Contrast"

This commit is contained in:
James Crook
2017-07-02 09:35:22 +01:00
parent 7494afb7d5
commit 11f9a8bb00
3 changed files with 3 additions and 15 deletions

View File

@@ -290,21 +290,11 @@ ThemeBase::~ThemeBase(void)
{
}
const char * ThemeNames [] =
{ "Classic",
"Dark",
"Light",
"HiContrast",
"Custom"
};
/// This function is called to load the initial Theme images.
/// It does not though cause the GUI to refresh.
void ThemeBase::LoadTheme( teThemeType Theme )
{
EnsureInitialised();
mThemeName = ThemeNames[ Theme ];
const bool cbOkIfNotFound = true;
if( !ReadImageCache( Theme, cbOkIfNotFound ) )
@@ -917,7 +907,7 @@ teThemeType ThemeBase::ThemeTypeOfTypeName( const wxString & Name )
aThemes.Add( "classic" );
aThemes.Add( "dark" );
aThemes.Add( "light" );
aThemes.Add( "hi-contrast" );
aThemes.Add( "high-contrast" );
aThemes.Add( "custom" );
int themeIx = aThemes.Index( Name );
if( themeIx < 0 )