GetPathTo -> GetPath

This commit is contained in:
Chris Danford
2005-02-06 03:32:53 +00:00
parent 7e68ac03b4
commit 4223e09cc8
91 changed files with 422 additions and 447 deletions
+5 -5
View File
@@ -43,10 +43,10 @@ ScreenTextEntry::ScreenTextEntry( CString sClassName, CString sQuestion, CString
m_sAnswer = CStringToWstring(sInitialAnswer);
m_bCancelled = false;
m_Background.LoadFromAniDir( THEME->GetPathToB("ScreenPrompt background") );
m_Background.LoadFromAniDir( THEME->GetPathB("ScreenPrompt","background") );
this->AddChild( &m_Background );
m_textQuestion.LoadFromFont( THEME->GetPathToF("Common normal") );
m_textQuestion.LoadFromFont( THEME->GetPathF("Common","normal") );
m_textQuestion.SetText( sQuestion );
m_textQuestion.SetXY( QUESTION_X, QUESTION_Y );
this->AddChild( &m_textQuestion );
@@ -57,16 +57,16 @@ ScreenTextEntry::ScreenTextEntry( CString sClassName, CString sQuestion, CString
m_rectAnswerBox.SetZoomY( ANSWER_HEIGHT );
this->AddChild( &m_rectAnswerBox );
m_textAnswer.LoadFromFont( THEME->GetPathToF("Common title") );
m_textAnswer.LoadFromFont( THEME->GetPathF("Common","title") );
m_textAnswer.SetXY( ANSWER_X, ANSWER_Y );
UpdateText();
this->AddChild( &m_textAnswer );
m_In.Load( THEME->GetPathToB("ScreenPrompt in") );
m_In.Load( THEME->GetPathB("ScreenPrompt","in") );
m_In.StartTransitioning();
this->AddChild( &m_In );
m_Out.Load( THEME->GetPathToB("ScreenPrompt out") );
m_Out.Load( THEME->GetPathB("ScreenPrompt","out") );
this->AddChild( &m_Out );
}