modify Input() on screens to return boolean

This commit is contained in:
Devin J. Pohly
2013-01-12 22:48:38 -05:00
parent 79583090ac
commit d13ac7e7a2
98 changed files with 861 additions and 697 deletions
+7 -5
View File
@@ -127,10 +127,10 @@ void ScreenTestSound::Update(float f)
}
}
void ScreenTestSound::Input( const InputEventPlus &input )
bool ScreenTestSound::Input( const InputEventPlus &input )
{
if( input.type != IET_FIRST_PRESS )
return; // ignore
return false; // ignore
switch( input.DeviceI.device )
{
@@ -197,11 +197,13 @@ void ScreenTestSound::Input( const InputEventPlus &input )
obj.SetY(obj.GetY() + 10);
break;
*/
default: break;
default:
return false;
}
default: break;
default:
return false;
}
return true;
}
/*