add wheel item metrics
This commit is contained in:
Chris Danford
2005-04-28 10:06:13 +00:00
parent 8cf1a9d820
commit 0a71994d01
3 changed files with 29 additions and 34 deletions
+2 -1
View File
@@ -8,6 +8,7 @@
#include "ThemeManager.h"
static ThemeMetric<bool> SHOW_TRAINING ("WheelNotifyIcon","ShowTraining");
WheelNotifyIcon::WheelNotifyIcon()
{
@@ -39,7 +40,7 @@ void WheelNotifyIcon::SetFlags( Flags flags )
default: ASSERT(0);
}
if( flags.bHasBeginnerOr1Meter )
if( flags.bHasBeginnerOr1Meter && (bool)SHOW_TRAINING )
m_vIconsToShow.push_back( training );