bAllowThemeTitles -> bAllowThemeTitle

This commit is contained in:
Chris Danford
2005-11-30 22:37:51 +00:00
parent 3b799327fc
commit 8cb7360ab6
5 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -411,9 +411,9 @@ GoalType StringToGoalType( const CString& s );
enum EditMode enum EditMode
{ {
EDIT_MODE_PRACTICE, // subset of EDIT_MODE_HOME EDIT_MODE_PRACTICE,
EDIT_MODE_HOME, // subset of EDIT_MODE_FULL EDIT_MODE_HOME,
EDIT_MODE_FULL, // complete EDIT_MODE_FULL,
NUM_EDIT_MODES, NUM_EDIT_MODES,
EDIT_MODE_INVALID, EDIT_MODE_INVALID,
}; };
+1 -1
View File
@@ -51,7 +51,7 @@ CString OptionRow::OptionTitle( CString s ) const
bool bTheme = false; bool bTheme = false;
// HACK: Always theme the NEXT_ROW and EXIT items, even if metrics says not to theme. // HACK: Always theme the NEXT_ROW and EXIT items, even if metrics says not to theme.
if( m_RowDef.m_bAllowThemeTitles ) if( m_RowDef.m_bAllowThemeTitle )
bTheme = true; bTheme = true;
return bTheme ? THEME->GetMetric("OptionTitles",s) : s; return bTheme ? THEME->GetMetric("OptionTitles",s) : s;
+3 -3
View File
@@ -43,8 +43,8 @@ struct OptionRowDefinition
vector<CString> m_vsChoices; vector<CString> m_vsChoices;
set<PlayerNumber> m_vEnabledForPlayers; // only players in this set may change focus to this row set<PlayerNumber> m_vEnabledForPlayers; // only players in this set may change focus to this row
bool m_bExportOnChange; bool m_bExportOnChange;
bool m_bAllowThemeItems; // if false, ignores ScreenOptions::THEME_ITEMS. Should be true for dynamic strings. bool m_bAllowThemeItems; // Should be true for dynamic strings.
bool m_bAllowThemeTitles; // if false, ignores ScreenOptions::THEME_TITLES. Should be true for dynamic strings. bool m_bAllowThemeTitle; // Should be true for dynamic strings.
bool m_bAllowExplanation; // if false, ignores ScreenOptions::SHOW_EXPLANATIONS. Should be true for dynamic strings. bool m_bAllowExplanation; // if false, ignores ScreenOptions::SHOW_EXPLANATIONS. Should be true for dynamic strings.
bool m_bShowChoicesListOnSelect; bool m_bShowChoicesListOnSelect;
@@ -66,7 +66,7 @@ struct OptionRowDefinition
m_vEnabledForPlayers.insert( pn ); m_vEnabledForPlayers.insert( pn );
m_bExportOnChange = false; m_bExportOnChange = false;
m_bAllowThemeItems = true; m_bAllowThemeItems = true;
m_bAllowThemeTitles = true; m_bAllowThemeTitle = true;
m_bAllowExplanation = true; m_bAllowExplanation = true;
m_bShowChoicesListOnSelect = false; m_bShowChoicesListOnSelect = false;
} }
+1 -1
View File
@@ -39,7 +39,7 @@ void ScreenOptionsEditProfile::BeginScreen()
def.m_layoutType = LAYOUT_SHOW_ONE_IN_ROW; def.m_layoutType = LAYOUT_SHOW_ONE_IN_ROW;
def.m_bOneChoiceForAllPlayers = true; def.m_bOneChoiceForAllPlayers = true;
def.m_bAllowThemeItems = false; def.m_bAllowThemeItems = false;
def.m_bAllowThemeTitles = false; def.m_bAllowThemeTitle = false;
def.m_bAllowExplanation = false; def.m_bAllowExplanation = false;
def.m_bExportOnChange = true; def.m_bExportOnChange = true;
@@ -137,7 +137,7 @@ void ScreenOptionsManageProfiles::BeginScreen()
OptionRowDefinition def; OptionRowDefinition def;
def.m_layoutType = LAYOUT_SHOW_ALL_IN_ROW; def.m_layoutType = LAYOUT_SHOW_ALL_IN_ROW;
def.m_bAllowThemeTitles = false; def.m_bAllowThemeTitle = false;
def.m_bAllowThemeItems = false; def.m_bAllowThemeItems = false;
int iIndex = 0; int iIndex = 0;