[MusicWheelItem] Allowed NormalPart and ColorPart to have metrics run against them.

This commit is contained in:
AJ Kelly
2010-12-12 01:46:13 -06:00
parent 0da30858cf
commit 939a0f0079
2 changed files with 7 additions and 0 deletions
+2
View File
@@ -49,9 +49,11 @@ MusicWheelItem::MusicWheelItem( RString sType ):
FOREACH_ENUM( MusicWheelItemType, i )
{
m_sprColorPart[i].Load( THEME->GetPathG(sType,MusicWheelItemTypeToString(i)+" ColorPart") );
m_sprColorPart[i]->SetName( MusicWheelItemTypeToString(i)+"ColorPart" );
this->AddChild( m_sprColorPart[i] );
m_sprNormalPart[i].Load( THEME->GetPathG(sType,MusicWheelItemTypeToString(i)+" NormalPart") );
m_sprNormalPart[i]->SetName( MusicWheelItemTypeToString(i)+"NormalPart" );
this->AddChild( m_sprNormalPart[i] );
}