GetPathTo -> GetPath
This commit is contained in:
@@ -85,7 +85,7 @@ EditCoursesMenu::EditCoursesMenu()
|
||||
|
||||
for( int i=0; i<2; i++ )
|
||||
{
|
||||
m_sprArrows[i].Load( THEME->GetPathToG(ssprintf("EditCoursesMenu %s",(i==0?"left":"right"))) );
|
||||
m_sprArrows[i].Load( THEME->GetPathG("EditCoursesMenu",i==0?"left":"right") );
|
||||
m_sprArrows[i].SetX( ARROWS_X(i) );
|
||||
this->AddChild( &m_sprArrows[i] );
|
||||
}
|
||||
@@ -97,14 +97,14 @@ EditCoursesMenu::EditCoursesMenu()
|
||||
|
||||
for( int i=0; i<NUM_ROWS; i++ )
|
||||
{
|
||||
m_textLabel[i].LoadFromFont( THEME->GetPathToF("Common title") );
|
||||
m_textLabel[i].LoadFromFont( THEME->GetPathF("Common","title") );
|
||||
m_textLabel[i].SetXY( ROW_LABELS_X, ROW_Y(i) );
|
||||
m_textLabel[i].SetText( RowToString((Row)i) );
|
||||
m_textLabel[i].SetZoom( 0.8f );
|
||||
m_textLabel[i].SetHorizAlign( Actor::align_left );
|
||||
this->AddChild( &m_textLabel[i] );
|
||||
|
||||
m_textValue[i].LoadFromFont( THEME->GetPathToF("Common normal") );
|
||||
m_textValue[i].LoadFromFont( THEME->GetPathF("Common","normal") );
|
||||
m_textValue[i].SetXY( ROW_VALUE_X(i), ROW_Y(i) );
|
||||
m_textValue[i].SetText( "blah" );
|
||||
m_textValue[i].SetZoom( 0.6f );
|
||||
@@ -122,9 +122,9 @@ EditCoursesMenu::EditCoursesMenu()
|
||||
this->AddChild( &m_EntryTextBanner );
|
||||
|
||||
|
||||
m_soundChangeRow.Load( THEME->GetPathToS("EditCoursesMenu row") );
|
||||
m_soundChangeValue.Load( THEME->GetPathToS("EditCoursesMenu value") );
|
||||
m_soundSave.Load( THEME->GetPathToS("EditCoursesMenu save") );
|
||||
m_soundChangeRow.Load( THEME->GetPathS("EditCoursesMenu","row") );
|
||||
m_soundChangeValue.Load( THEME->GetPathS("EditCoursesMenu","value") );
|
||||
m_soundSave.Load( THEME->GetPathS("EditCoursesMenu","save") );
|
||||
|
||||
|
||||
// fill in data structures
|
||||
|
||||
Reference in New Issue
Block a user