This commit is contained in:
Glenn Maynard
2005-05-09 03:42:18 +00:00
parent b292024dac
commit 0d9f9977ce
2 changed files with 7 additions and 3 deletions
+3 -3
View File
@@ -23,11 +23,10 @@ void ScreenTestLights::Init()
{
ScreenWithMenuElements::Init();
m_textInputs.SetName( "Text" );
m_textInputs.LoadFromFont( THEME->GetPathF("Common","normal") );
m_textInputs.SetText( "" );
m_textInputs.SetXY( SCREEN_CENTER_X - 200, SCREEN_CENTER_Y );
m_textInputs.SetHorizAlign( Actor::align_left );
m_textInputs.SetZoom( 0.8f );
SET_XY_AND_ON_COMMAND( m_textInputs );
this->AddChild( &m_textInputs );
SOUND->PlayMusic( THEME->GetPathS("ScreenTestLights","music") );
@@ -144,6 +143,7 @@ void ScreenTestLights::MenuBack( PlayerNumber pn )
if(!IsTransitioning())
{
SCREENMAN->PlayStartSound();
OFF_COMMAND( m_textInputs );
StartTransitioning( SM_GoToPrevScreen );
}
}