|
override HPS.Event | Clone () |
|
override void | Dispose () |
|
override bool | Drop (HPS.Event in_that_event) |
|
override bool | Equals (System.Object obj) |
|
override bool | Equals (HPS.InputEvent in_that) |
|
virtual bool | Equals (HPS.MouseEvent in_that) |
|
override IntPtr | Freshen () |
|
override int | GetHashCode () |
|
| MouseEvent () |
|
| MouseEvent (HPS.MouseEvent.Action in_action, HPS.WindowPoint in_location, HPS.MouseButtons in_button, HPS.ModifierKeys in_modifier, ulong in_click_count) |
|
| MouseEvent (HPS.MouseEvent.Action in_action, HPS.WindowPoint in_location, HPS.MouseButtons in_button, HPS.ModifierKeys in_modifier) |
|
| MouseEvent (HPS.MouseEvent.Action in_action, HPS.WindowPoint in_location, HPS.MouseButtons in_button) |
|
| MouseEvent (HPS.MouseEvent.Action in_action, HPS.WindowPoint in_location) |
|
| MouseEvent (HPS.MouseEvent.Action in_action, float in_wheel_delta, HPS.WindowPoint in_location, HPS.ModifierKeys in_modifier, ulong in_click_count) |
|
| MouseEvent (HPS.MouseEvent.Action in_action, float in_wheel_delta, HPS.WindowPoint in_location, HPS.ModifierKeys in_modifier) |
|
| MouseEvent (HPS.MouseEvent.Action in_action, float in_wheel_delta, HPS.WindowPoint in_location) |
|
| MouseEvent (HPS.MouseEvent.Action in_action, float in_wheel_delta) |
|
| MouseEvent (HPS.Event in_event) |
|
| MouseEvent (HPS.MouseEvent in_that) |
|
override bool | Equals (System.Object obj) |
|
override int | GetHashCode () |
|
HPS.ModifierKeys | GetModifierKeys () |
|
| InputEvent () |
|
| InputEvent (HPS.ModifierKeys in_modifiers) |
|
| InputEvent (HPS.InputEvent in_that) |
|
delegate void | DtorDelegate (IntPtr cPtr) |
|
| Event (IntPtr in_channel) |
|
| Event () |
|
| Event (HPS.Event in_that) |
|
IntPtr | GetChannel () |
|
IntPtr | GetClassID () |
|
double | GetTimeStamp () |
|
bool | IsConsumable () |
|
|
override void | deleteCptr () |
|
override bool | DerivedClassHasMethod (string methodName, System.Type[] methodTypes) |
|
override IntPtr | GetNonDirectorClassID () |
|
override bool | IsUserDerived () |
|
|
static void | DtorCallback (IntPtr p) |
|
bool | cMemOwn |
|
HandleRef | cptr |
|
static Dictionary< IntPtr, Event > | cachedObjects = new Dictionary<IntPtr, Event>() |
|
static ReaderWriterLockSlim | mapLock = new ReaderWriterLockSlim(LockRecursionPolicy.SupportsRecursion) |
|
The MouseEvent class is the event generated for each mouse action.
◆ Action
Enumeration of various actions a mouse can undergo for a MouseEvent.
Enumerator |
---|
ButtonDown | A mouse button has been released.
|
Move | A mouse button has been pressed.
|
Scroll | The mouse location has changed.
|
Enter | The scroll wheel has been moved.
|
Leave | The mouse cursor has moved into the active window.
|
◆ MouseEvent() [1/10]
HPS.MouseEvent.MouseEvent |
( |
| ) |
|
|
inline |
The default constructor creates an uninitialized MouseEvent object.
◆ MouseEvent() [2/10]
This constructor creates a MouseEvent object for a given action.
- Parameters
-
in_action | Action of this MouseEvent. |
in_location | The location in window space of the mouse cursor. |
in_button | If the action is a button event, this is the button. |
in_modifier | The modifier keys for this MouseEvent. |
in_click_count | The number of clicks received. |
◆ MouseEvent() [3/10]
This constructor creates a MouseEvent object for a given action.
- Parameters
-
in_action | Action of this MouseEvent. |
in_location | The location in window space of the mouse cursor. |
in_button | If the action is a button event, this is the button. |
in_modifier | The modifier keys for this MouseEvent. |
◆ MouseEvent() [4/10]
This constructor creates a MouseEvent object for a given action.
- Parameters
-
in_action | Action of this MouseEvent. |
in_location | The location in window space of the mouse cursor. |
in_button | If the action is a button event, this is the button. |
◆ MouseEvent() [5/10]
This constructor creates a MouseEvent object for a given action.
- Parameters
-
in_action | Action of this MouseEvent. |
in_location | The location in window space of the mouse cursor. |
◆ MouseEvent() [6/10]
This constructor creates a MouseEvent object, most useful for a wheel action.
- Parameters
-
in_action | Action of the mouse for this MouseEvent. |
in_wheel_delta | If the action involves the mouse wheel, this is the amount the wheel moved. It is positive if the mouse wheel is moved forward (away from the user) or negative if the mouse wheel is moved downward (toward the user). |
in_location | The location in window space of the mouse cursor. |
in_modifier | The modifier keys for this MouseEvent. |
in_click_count | The number of clicks received. |
◆ MouseEvent() [7/10]
This constructor creates a MouseEvent object, most useful for a wheel action.
- Parameters
-
in_action | Action of the mouse for this MouseEvent. |
in_wheel_delta | If the action involves the mouse wheel, this is the amount the wheel moved. It is positive if the mouse wheel is moved forward (away from the user) or negative if the mouse wheel is moved downward (toward the user). |
in_location | The location in window space of the mouse cursor. |
in_modifier | The modifier keys for this MouseEvent. |
◆ MouseEvent() [8/10]
This constructor creates a MouseEvent object, most useful for a wheel action.
- Parameters
-
in_action | Action of the mouse for this MouseEvent. |
in_wheel_delta | If the action involves the mouse wheel, this is the amount the wheel moved. It is positive if the mouse wheel is moved forward (away from the user) or negative if the mouse wheel is moved downward (toward the user). |
in_location | The location in window space of the mouse cursor. |
◆ MouseEvent() [9/10]
This constructor creates a MouseEvent object, most useful for a wheel action.
- Parameters
-
in_action | Action of the mouse for this MouseEvent. |
in_wheel_delta | If the action involves the mouse wheel, this is the amount the wheel moved. It is positive if the mouse wheel is moved forward (away from the user) or negative if the mouse wheel is moved downward (toward the user). |
◆ MouseEvent() [10/10]
HPS.MouseEvent.MouseEvent |
( |
HPS.Event |
in_event | ) |
|
|
inline |
This constructor converts an EventObject to a MouseEvent object.
- Parameters
-
in_event | The EventObject to be converted. |
◆ Clone()
◆ Drop()
override bool HPS.MouseEvent.Drop |
( |
HPS.Event |
in_that_event | ) |
|
|
inlinevirtual |
Determines if this MouseEvent can be dropped in favor of the following mouse event.
- Parameters
-
- Returns
- true if this event can be dropped, false otherwise.
Reimplemented from HPS.Event.
◆ Equals() [1/2]
Check if the source object is equivalent to this object.
- Parameters
-
in_that | The source object to compare to this object. |
- Returns
- true if the objects are equivalent, false otherwise.
Reimplemented from HPS.InputEvent.
◆ Equals() [2/2]
Check if the source object is equivalent to this object.
- Parameters
-
in_that | The source object to compare to this object. |
- Returns
- true if the objects are equivalent, false otherwise.
◆ Freshen()
override IntPtr HPS.MouseEvent.Freshen |
( |
| ) |
|
|
inlinevirtual |
This optional function is used to determine if the current event can be dropped in favor of newer event of the same type if one is available.
- Returns
- A cookie representing the freshen category. Zero indicates a non-freshening event.
Reimplemented from HPS.Event.
The documentation for this class was generated from the following file:
- internals/hps_core/source/cs/HPS.MouseEvent.cs