remove GoToNextScreen/GoToNextScreen; call base

This commit is contained in:
Glenn Maynard
2005-07-12 06:35:49 +00:00
parent 64db9a3ca9
commit abe3e2c39f
2 changed files with 2 additions and 10 deletions
+2 -8
View File
@@ -514,14 +514,6 @@ void ScreenOptions::HandleScreenMessage( const ScreenMessage SM )
}
this->HandleScreenMessage( SM_GoToNextScreen );
}
else if( SM == SM_GoToNextScreen )
{
this->GoToNextScreen();
}
else if( SM == SM_GoToPrevScreen )
{
this->GoToPrevScreen();
}
else if( SM == SM_BeginFadingOut )
{
if(IsTransitioning())
@@ -540,6 +532,8 @@ void ScreenOptions::HandleScreenMessage( const ScreenMessage SM )
{
INPUTFILTER->ResetRepeatRate();
}
ScreenWithMenuElements::HandleScreenMessage( SM );
}
-2
View File
@@ -60,8 +60,6 @@ protected:
virtual void ProcessMenuStart( PlayerNumber pn, const InputEventType type );
virtual void BeginFadingOut() { this->PostScreenMessage( SM_BeginFadingOut, 0 ); }
virtual void GoToNextScreen() { }
virtual void GoToPrevScreen() { }
void ChangeValueInRow( PlayerNumber pn, int iDelta, bool Repeat );
virtual void AfterChangeValueInRow( PlayerNumber pn ) {} // override this to detect when the value in a row has changed