remove GoToNextScreen/GoToNextScreen; call base
This commit is contained in:
@@ -514,14 +514,6 @@ void ScreenOptions::HandleScreenMessage( const ScreenMessage SM )
|
|||||||
}
|
}
|
||||||
this->HandleScreenMessage( SM_GoToNextScreen );
|
this->HandleScreenMessage( SM_GoToNextScreen );
|
||||||
}
|
}
|
||||||
else if( SM == SM_GoToNextScreen )
|
|
||||||
{
|
|
||||||
this->GoToNextScreen();
|
|
||||||
}
|
|
||||||
else if( SM == SM_GoToPrevScreen )
|
|
||||||
{
|
|
||||||
this->GoToPrevScreen();
|
|
||||||
}
|
|
||||||
else if( SM == SM_BeginFadingOut )
|
else if( SM == SM_BeginFadingOut )
|
||||||
{
|
{
|
||||||
if(IsTransitioning())
|
if(IsTransitioning())
|
||||||
@@ -540,6 +532,8 @@ void ScreenOptions::HandleScreenMessage( const ScreenMessage SM )
|
|||||||
{
|
{
|
||||||
INPUTFILTER->ResetRepeatRate();
|
INPUTFILTER->ResetRepeatRate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ScreenWithMenuElements::HandleScreenMessage( SM );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -60,8 +60,6 @@ protected:
|
|||||||
virtual void ProcessMenuStart( PlayerNumber pn, const InputEventType type );
|
virtual void ProcessMenuStart( PlayerNumber pn, const InputEventType type );
|
||||||
|
|
||||||
virtual void BeginFadingOut() { this->PostScreenMessage( SM_BeginFadingOut, 0 ); }
|
virtual void BeginFadingOut() { this->PostScreenMessage( SM_BeginFadingOut, 0 ); }
|
||||||
virtual void GoToNextScreen() { }
|
|
||||||
virtual void GoToPrevScreen() { }
|
|
||||||
|
|
||||||
void ChangeValueInRow( PlayerNumber pn, int iDelta, bool Repeat );
|
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
|
virtual void AfterChangeValueInRow( PlayerNumber pn ) {} // override this to detect when the value in a row has changed
|
||||||
|
|||||||
Reference in New Issue
Block a user