use generic RepeatRate, RepeatDelay

This commit is contained in:
Glenn Maynard
2007-03-16 06:04:38 +00:00
parent 1faeb65a40
commit 6337f2aa17
2 changed files with 2 additions and 9 deletions
+2
View File
@@ -1906,6 +1906,8 @@ Fallback="ScreenWithMenuElements"
NavigationMode="normal"
InputMode="individual"
ForceAllPlayers=false
RepeatRate=0.25
RepeatDelay=12
NumRowsShown=10
RowInitCommand=
RowOnCommand=
-9
View File
@@ -555,15 +555,6 @@ void ScreenOptions::HandleScreenMessage( const ScreenMessage SM )
this->HandleScreenMessage( SM_GoToNextScreen );
}
else if( SM == SM_GainFocus )
{
INPUTFILTER->SetRepeatRate( 12 );
INPUTFILTER->SetRepeatDelay( 0.25f );
}
else if( SM == SM_LoseFocus )
{
INPUTFILTER->ResetRepeatRate();
}
ScreenWithMenuElements::HandleScreenMessage( SM );
}