Move RadarValues::WriteSimpleValues, WriteComplexValues into ThemeMetric objects for maintainability.

This commit is contained in:
Chris Danford
2007-02-26 06:04:52 +00:00
parent aa34a3082d
commit 5637d0f7f7
5 changed files with 12 additions and 5 deletions
+2 -2
View File
@@ -54,8 +54,8 @@ void CatalogXml::Save( LoadingWindow *loading_window )
const vector<StepsType> &vStepsTypesToShow = CommonMetrics::STEPS_TYPES_TO_SHOW.GetValue();
const vector<Difficulty> &vDifficultiesToShow = CommonMetrics::DIFFICULTIES_TO_SHOW.GetValue();
const vector<CourseDifficulty> &vCourseDifficultiesToShow = CommonMetrics::COURSE_DIFFICULTIES_TO_SHOW.GetValue();
const bool bWriteSimpleValues = THEME->GetMetricB( "RadarValues", "WriteSimpleValues" );
const bool bWriteComplexValues = THEME->GetMetricB( "RadarValues", "WriteComplexValues" );
const bool bWriteSimpleValues = RadarValues::WRITE_SIMPLE_VALIES;
const bool bWriteComplexValues = RadarValues::WRITE_COMPLEX_VALIES;
{
XNode* pNode = xml.AppendChild( "Totals" );