[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
+5
View File
@@ -9,6 +9,11 @@ Not all changes are documented, for various reasons.
supported but exist anyways.)
_____________________________________________________________________________
20101212
--------
* [MusicWheelItem] Gave NormalPart/ColorPart names, so metrics can be used to
manipulate them. [freem]
================================================================================
sm-ssc v1.1 | 20101120
--------------------------------------------------------------------------------
+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] );
}