From 393f01cd8c2bee37b8f5b3a5943db1504cec4ee6 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 8 May 2007 00:54:57 +0000 Subject: [PATCH] fix commands --- stepmania/src/ScreenTestLights.cpp | 3 +-- stepmania/src/ScreenTestLights.h | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/stepmania/src/ScreenTestLights.cpp b/stepmania/src/ScreenTestLights.cpp index 0bbb145feb..57a93c6b47 100644 --- a/stepmania/src/ScreenTestLights.cpp +++ b/stepmania/src/ScreenTestLights.cpp @@ -20,7 +20,7 @@ void ScreenTestLights::Init() m_textInputs.SetName( "Text" ); m_textInputs.LoadFromFont( THEME->GetPathF("Common","normal") ); 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 ); } @@ -125,7 +125,6 @@ void ScreenTestLights::MenuBack( const InputEventPlus &input ) if( !IsTransitioning() ) { SCREENMAN->PlayStartSound(); - OFF_COMMAND( m_textInputs ); StartTransitioningScreen( SM_GoToPrevScreen ); } } diff --git a/stepmania/src/ScreenTestLights.h b/stepmania/src/ScreenTestLights.h index 07a52c1b2d..080dc465ca 100644 --- a/stepmania/src/ScreenTestLights.h +++ b/stepmania/src/ScreenTestLights.h @@ -21,6 +21,9 @@ public: virtual void MenuBack( const InputEventPlus &input ); private: + virtual bool GenericTweenOn() const { return true; } + virtual bool GenericTweenOff() const { return true; } + BitmapText m_textInputs; RageTimer m_timerBackToAutoCycle;