pass around InputEventPlus in Screen::Input instead of multiple input structures

This commit is contained in:
Chris Danford
2005-09-05 02:26:50 +00:00
parent 056dd1b1d5
commit bb10c7c21f
83 changed files with 506 additions and 427 deletions
+3 -3
View File
@@ -402,15 +402,15 @@ ScreenRanking::~ScreenRanking()
{
}
void ScreenRanking::Input( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI )
void ScreenRanking::Input( const InputEventPlus &input )
{
LOG->Trace( "ScreenRanking::Input()" );
// If manually scrolling, then pass the input to Scree::Input so it will call Menu*
if( (bool)MANUAL_SCROLLING )
Screen::Input( DeviceI, type, GameI, MenuI, StyleI );
Screen::Input( input );
else
ScreenAttract::Input( DeviceI, type, GameI, MenuI, StyleI );
ScreenAttract::Input( input );
}
void ScreenRanking::Scroll( int iDir )