move item theming from ScreenOptionsMaster to OptionRow so MiniMenu and other options screens can be themed

This commit is contained in:
Chris Danford
2005-03-20 20:16:32 +00:00
parent 5befb60456
commit b73448d410
7 changed files with 28 additions and 61 deletions
+6
View File
@@ -76,6 +76,12 @@ public:
ThemeMetricCourseDifficultiesToShow COURSE_DIFFICULTIES_TO_SHOW;
const set<CourseDifficulty>& CommonMetrics::GetCourseDifficultiesToShow() { return COURSE_DIFFICULTIES_TO_SHOW.m_v; }
CString THEME_OPTION_ITEM( CString s, bool bOptional )
{
if( bOptional && !THEME->HasMetric("OptionNames",s) )
return s;
return THEME->GetMetric( "OptionNames", s );
}
/*