1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-01 08:29:27 +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 )

View File

@ -148,8 +148,6 @@ public:
// Utility functiuon that takes a 32 bit bitmap and makes it into an image.
wxImage MakeImageWithAlpha( wxBitmap & Bmp );
wxString mThemeName;
protected:
ArrayOfImages mImages;
ArrayOfBitmaps mBitmaps;

View File

@ -88,13 +88,13 @@ void GUIPrefs::Populate()
mThemeCodes.Add( wxT("classic") );
mThemeCodes.Add( wxT("light") );
mThemeCodes.Add( wxT("dark") );
mThemeCodes.Add( wxT("hi-contrast") );
mThemeCodes.Add( wxT("high-contrast") );
mThemeCodes.Add( wxT("custom") );
mThemeChoices.Add( _("Classic") );
mThemeChoices.Add( _("Light") );
mThemeChoices.Add( _("Dark") );
mThemeChoices.Add( _("Hi Contrast") );
mThemeChoices.Add( _("High Contrast") );
mThemeChoices.Add( _("Custom") );
GetRangeChoices(&mRangeChoices, &mRangeCodes);