Widget IHandleInputs now

This commit is contained in:
alzeih
2010-07-21 16:51:00 +12:00
parent d0b4761e07
commit 0ac91d3c5e
17 changed files with 66 additions and 63 deletions

View File

@@ -44,7 +44,7 @@ namespace OpenRA.Widgets
return lose;
}
public override bool HandleInput(MouseInput mi)
public override bool HandleInputInner(MouseInput mi)
{
if (mi.Event == MouseInputEvent.Move)
return false;
@@ -61,7 +61,7 @@ namespace OpenRA.Widgets
return true;
}
public override bool HandleKeyPress(KeyInput e)
public override bool HandleKeyPressInner(KeyInput e)
{
// Only take input if we are focused
if (!Focused)