Merge pull request #10651 from Phrohdoh/widget-xmldoc
Add xmldoc to Widget.HandleMouseInput
This commit is contained in:
@@ -108,6 +108,9 @@ namespace OpenRA.Widgets
|
|||||||
return handled;
|
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)
|
public static bool HandleKeyPress(KeyInput e)
|
||||||
{
|
{
|
||||||
if (KeyboardFocusWidget != null)
|
if (KeyboardFocusWidget != null)
|
||||||
@@ -345,6 +348,10 @@ namespace OpenRA.Widgets
|
|||||||
|
|
||||||
public virtual void MouseEntered() { }
|
public virtual void MouseEntered() { }
|
||||||
public virtual void MouseExited() { }
|
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 virtual bool HandleMouseInput(MouseInput mi) { return false; }
|
||||||
|
|
||||||
public bool HandleMouseInputOuter(MouseInput mi)
|
public bool HandleMouseInputOuter(MouseInput mi)
|
||||||
|
|||||||
Reference in New Issue
Block a user