Add xmldoc to Widget.HandleMouseInput

This commit is contained in:
Taryn Hill
2016-01-30 12:56:57 -06:00
parent 7ca1af4e96
commit d12fd9de86

View File

@@ -108,6 +108,9 @@ namespace OpenRA.Widgets
return handled;
}
/// <summary>Possibly handle keyboard input (if this widget has keyboard focus)</summary>
/// <returns><c>true</c>, if keyboard input was handled, <c>false</c> if the input should bubble to the parent widget</returns>
/// <param name="e">Key input data</param>
public static bool HandleKeyPress(KeyInput e)
{
if (KeyboardFocusWidget != null)
@@ -345,6 +348,10 @@ namespace OpenRA.Widgets
public virtual void MouseEntered() { }
public virtual void MouseExited() { }
/// <summary>Possibly handles mouse input (click, drag, scroll, etc).</summary>
/// <returns><c>true</c>, if mouse input was handled, <c>false</c> if the input should bubble to the parent widget</returns>
/// <param name="mi">Mouse input data</param>
public virtual bool HandleMouseInput(MouseInput mi) { return false; }
public bool HandleMouseInputOuter(MouseInput mi)