Class PlessMouse
Contains static methods and properties related to the platformless mouse implementation.
public static class PlessMouse
- Inheritance
-
PlessMouse
Fields
- ShowTestMouseInControl
Gets or sets whether to draw test mouse pointer inside the control.
- TestMouseColor
Gets or sets color of the test mouse pointer.
- TestMouseSize
Gets or sets size of the test mouse pointer.
Properties
- LastMousePosition
Gets last mouse position passed to mouse event handlers.
Methods
- DrawTestMouseRect(Control, Graphics)
Draws test mouse pointer inside the control.
- GetButtonState(MouseButton)
Gets mouse button pressed state which was changed using SetButtonPressed(MouseButton, bool) method.
- GetTestMouseRect(Control)
Gets rectangle for the test mouse pointer.
- IsButtonPressed(MouseButton)
Gets mouse button pressed state which was changed using SetButtonPressed(MouseButton, bool) method.
- SetButtonPressed(MouseButton, bool)
Sets internal mouse button pressed state. Do not call directly.
Events
- LastMousePositionChanged
Occurs when LastMousePosition property is changed.