[MusicWheelItem] Allowed NormalPart and ColorPart to have metrics run against them.
This commit is contained in:
@@ -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
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
@@ -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] );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user