diff --git a/Engines/FlatRedBallXNA/FlatRedBall/Gui/Cursor.cs b/Engines/FlatRedBallXNA/FlatRedBall/Gui/Cursor.cs index f3a148cc0..ca4b4e9a2 100644 --- a/Engines/FlatRedBallXNA/FlatRedBall/Gui/Cursor.cs +++ b/Engines/FlatRedBallXNA/FlatRedBall/Gui/Cursor.cs @@ -44,7 +44,6 @@ public partial class Cursor IWindow mWindowPushed; - #region XML Docs /// /// The window that the cursor was over when the mouse button was pressed. /// @@ -59,10 +58,8 @@ public partial class Cursor /// pushed and without accidentally clicking on other Buttons. This is also used /// with ToggleButtons to control when they are pressed and unpressed. /// - #endregion public IWindow mWindowSecondaryPushed; - #region XML Docs /// /// If this value is true, the Cursor will not move in response to the mouse or gamepad. /// @@ -71,12 +68,10 @@ public partial class Cursor /// The staticPosition value is only used by the engine when over the button on an UpDown. When pushing down /// on an UpDown button, the staticPosition is set to true, and set to false when releasing the mouse button. /// - #endregion public bool StaticPosition; private IWindow mLastWindowOver; - #region XML Docs /// /// The window that the cursor has grabbed. /// @@ -86,7 +81,6 @@ public partial class Cursor /// not recognize which types of Windows can be dragged, so windows must be grabbed through the Cursor.GrabWindow /// method. The windowGrabbed's onDrag event is fired every frame. /// - #endregion public IWindow WindowGrabbed; internal Sides mSidesGrabbed = Sides.None; @@ -113,7 +107,6 @@ public partial class Cursor Ray mLastRay; - #region XML Docs /// /// Storage for reference to a grabbed object. /// @@ -125,10 +118,8 @@ public partial class Cursor /// "snapping" its center to the Cursor's tip. /// /// - #endregion IStaticPositionable mObjectGrabbed; - #region XML Docs /// /// The relative x position of a grabbed object from the center of the cursor. /// @@ -138,10 +129,8 @@ public partial class Cursor /// /// /// - #endregion public float ObjectGrabbedRelativeX; - #region XML Docs /// /// The relative y position of a grabbed object from the center of the cursor. /// @@ -151,7 +140,6 @@ public partial class Cursor /// /// /// - #endregion public float ObjectGrabbedRelativeY; /// @@ -161,11 +149,9 @@ public partial class Cursor public bool PrimaryDoublePush; - #region XML Docs /// /// Determines whether the primary button is down this frame. /// - #endregion public bool PrimaryDown; /// @@ -173,11 +159,9 @@ public partial class Cursor /// public bool PrimaryClick; - #region XML Docs /// /// Determines whether the primary button was double clicked this frame. /// - #endregion public bool PrimaryDoubleClick; @@ -187,32 +171,24 @@ public partial class Cursor double mLastTimePrimaryClick; double mLastTimePrimaryPush; - #region XML Docs /// /// Determines whether the secondary button was pushed this frame. /// - #endregion public bool SecondaryPush; - #region XML Docs /// /// Determines whether the secondary button is down this frame. /// - #endregion public bool SecondaryDown; - #region XML Docs /// /// Determines whether the secondary button was clicked (released) this frame. /// - #endregion public bool SecondaryClick; - #region XML Docs /// /// Determines whether the secondary button was double clicked this frame. /// - #endregion public bool SecondaryDoubleClick; @@ -369,7 +345,6 @@ public InputDevice LastInputDevice } bool active = true; - #region XML Docs /// /// Sets whether the cursor is active. /// @@ -388,7 +363,6 @@ public InputDevice LastInputDevice /// secondaryPush /// /// - #endregion public bool Active { set @@ -665,13 +639,11 @@ public IWindow WindowPushed } } - #region XML Docs /// /// Assigns the ObjectGrabbed and calculates the relative position of the /// grabbed object. After this method is called, UpdateObjectGrabbedPosition can be called /// every frame to position the grabbed object. /// - #endregion public IStaticPositionable ObjectGrabbed { get { return mObjectGrabbed; }