allow dynamically generated rows to override theming

remove unused EditAction row type
This commit is contained in:
Chris Danford
2005-03-20 23:40:26 +00:00
parent 10ba6d20cf
commit 2f4d814a64
3 changed files with 9 additions and 162 deletions
+2
View File
@@ -41,6 +41,7 @@ struct OptionRowDefinition
vector<CString> choices;
set<PlayerNumber> m_vEnabledForPlayers; // only players in this set may change focus to this row
bool m_bExportOnChange;
bool m_bAllowThemeItems; // if false, ignores ScreenOptions::THEME_ITEMS
bool IsEnabledForPlayer( PlayerNumber pn ) const
{
@@ -59,6 +60,7 @@ struct OptionRowDefinition
FOREACH_PlayerNumber( pn )
m_vEnabledForPlayers.insert( pn );
m_bExportOnChange = false;
m_bAllowThemeItems = true;
}
OptionRowDefinition( const char *n, bool b, const char *c0=NULL, const char *c1=NULL, const char *c2=NULL, const char *c3=NULL, const char *c4=NULL, const char *c5=NULL, const char *c6=NULL, const char *c7=NULL, const char *c8=NULL, const char *c9=NULL, const char *c10=NULL, const char *c11=NULL, const char *c12=NULL, const char *c13=NULL, const char *c14=NULL, const char *c15=NULL, const char *c16=NULL, const char *c17=NULL, const char *c18=NULL, const char *c19=NULL )