more m_sID

This commit is contained in:
Glenn Maynard
2005-05-31 07:53:13 +00:00
parent 2e4c4b67e4
commit 9a3c6a0289
4 changed files with 9 additions and 9 deletions
+5 -5
View File
@@ -14,11 +14,13 @@ HelpDisplay::HelpDisplay()
m_fSecsUntilSwitch = 0;
}
void HelpDisplay::Load()
void HelpDisplay::Load( const CString &sType )
{
RunCommands( THEME->GetMetricA(m_sName,"TipOnCommand") );
TIP_SHOW_TIME.Load( sType, "TipShowTime" );
LoadFromFont( THEME->GetPathF(m_sName,"text") );
RunCommands( THEME->GetMetricA(sType,"TipOnCommand") );
LoadFromFont( THEME->GetPathF(sType,"text") );
m_fSecsUntilSwitch = TIP_SHOW_TIME;
}
@@ -31,8 +33,6 @@ void HelpDisplay::LoadFromNode( const CString& sDir, const XNode* pNode )
void HelpDisplay::SetName( const CString &sName, const CString &sID )
{
BitmapText::SetName( sName, sID );
TIP_SHOW_TIME.Load( m_sName, "TipShowTime" );
}
void HelpDisplay::SetTips( const CStringArray &arrayTips, const CStringArray &arrayTipsAlt )
+1 -1
View File
@@ -13,7 +13,7 @@ class HelpDisplay : public BitmapText
{
public:
HelpDisplay();
void Load();
void Load( const CString &sType );
void LoadFromNode( const CString& sDir, const XNode* pNode );
+1 -1
View File
@@ -220,7 +220,7 @@ void ScreenSelectMusic::Init()
this->AddChild( &m_textTotalTime );
m_Artist.SetName( "ArtistDisplay" );
m_Artist.Load();
m_Artist.Load( "ArtistDisplay" );
SET_XY( m_Artist );
this->AddChild( &m_Artist );
+2 -2
View File
@@ -96,8 +96,8 @@ void ScreenWithMenuElements::Init()
SET_XY_AND_ON_COMMAND( m_autoFooter );
this->AddChild( m_autoFooter );
m_textHelp->SetName( "HelpDisplay", "Help" );
m_textHelp->Load();
m_textHelp->SetName( "Help" );
m_textHelp->Load( "HelpDisplay" );
SET_XY_AND_ON_COMMAND( m_textHelp );
LoadHelpText();
this->AddChild( m_textHelp );