Review StyleCop rules.
- Enforce SA1604 ElementDocumentationShouldHaveSummary. - Enforce SA1629 DocumentationTextShouldEndWithAPeriod. - Turn off some rules covered by IDExxxx rules. - Remaining rules are treated as part of OpenRA style.
This commit is contained in:
@@ -125,9 +125,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>
|
||||
/// <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)
|
||||
@@ -395,8 +395,8 @@ namespace OpenRA.Widgets
|
||||
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>
|
||||
/// <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)
|
||||
|
||||
Reference in New Issue
Block a user