just call Input from OverlayInput
This commit is contained in:
+3
-9
@@ -175,15 +175,9 @@ void Screen::Update( float fDeltaTime )
|
|||||||
* function. */
|
* function. */
|
||||||
bool Screen::OverlayInput( const InputEventPlus &input )
|
bool Screen::OverlayInput( const InputEventPlus &input )
|
||||||
{
|
{
|
||||||
// Allow overlays to respond to codes
|
// XXX Eventually merge this function with Input() once the necessary
|
||||||
Message msg("");
|
// changes are made in ScreenManager.
|
||||||
if( m_Codes.InputMessage(input, msg) )
|
return this->Input(input);
|
||||||
{
|
|
||||||
this->HandleMessage( msg );
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Returns true if the input was handled, or false if not handled. */
|
/* Returns true if the input was handled, or false if not handled. */
|
||||||
|
|||||||
Reference in New Issue
Block a user