make calls to THEME->GetPathTo() more concise

This commit is contained in:
Chris Danford
2003-04-12 17:39:27 +00:00
parent 625b1beb04
commit 448bdc7b6e
96 changed files with 508 additions and 513 deletions
+2 -2
View File
@@ -28,11 +28,11 @@ void GroupList::Load( const CStringArray& asGroupNames )
float fX = START_X + i*SPACING_X;
float fY = START_Y + i*SPACING_Y;
m_sprButton[i].Load( THEME->GetPathTo("Graphics","GroupList bar") );
m_sprButton[i].Load( THEME->GetPathToG("GroupList bar") );
m_sprButton[i].SetXY( fX, fY );
this->AddChild( &m_sprButton[i] );
m_screenLabels[i].LoadFromFont( THEME->GetPathTo("Fonts","GroupList label") );
m_screenLabels[i].LoadFromFont( THEME->GetPathToF("GroupList label") );
m_screenLabels[i].SetXY( fX, fY );
m_screenLabels[i].SetShadowLength( 2 );
this->AddChild( &m_screenLabels[i] );