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:
parent
7494afb7d5
commit
11f9a8bb00
@ -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 )
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user