fix commands
This commit is contained in:
@@ -20,7 +20,7 @@ void ScreenTestLights::Init()
|
|||||||
m_textInputs.SetName( "Text" );
|
m_textInputs.SetName( "Text" );
|
||||||
m_textInputs.LoadFromFont( THEME->GetPathF("Common","normal") );
|
m_textInputs.LoadFromFont( THEME->GetPathF("Common","normal") );
|
||||||
m_textInputs.SetText( "" );
|
m_textInputs.SetText( "" );
|
||||||
LOAD_ALL_COMMANDS_AND_SET_XY_AND_ON_COMMAND( m_textInputs );
|
LOAD_ALL_COMMANDS_AND_SET_XY( m_textInputs );
|
||||||
this->AddChild( &m_textInputs );
|
this->AddChild( &m_textInputs );
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -125,7 +125,6 @@ void ScreenTestLights::MenuBack( const InputEventPlus &input )
|
|||||||
if( !IsTransitioning() )
|
if( !IsTransitioning() )
|
||||||
{
|
{
|
||||||
SCREENMAN->PlayStartSound();
|
SCREENMAN->PlayStartSound();
|
||||||
OFF_COMMAND( m_textInputs );
|
|
||||||
StartTransitioningScreen( SM_GoToPrevScreen );
|
StartTransitioningScreen( SM_GoToPrevScreen );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,6 +21,9 @@ public:
|
|||||||
virtual void MenuBack( const InputEventPlus &input );
|
virtual void MenuBack( const InputEventPlus &input );
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
virtual bool GenericTweenOn() const { return true; }
|
||||||
|
virtual bool GenericTweenOff() const { return true; }
|
||||||
|
|
||||||
BitmapText m_textInputs;
|
BitmapText m_textInputs;
|
||||||
|
|
||||||
RageTimer m_timerBackToAutoCycle;
|
RageTimer m_timerBackToAutoCycle;
|
||||||
|
|||||||
Reference in New Issue
Block a user