|
| enum class | Type {
None
, Entered
, Exited
, Move
,
Drag
, ButtonDown
, ButtonUp
, Wheel
} |
| |
|
|
bool | empty () const noexcept |
| |
|
| operator bool () const noexcept |
| |
| bool | is_left_button_up (aarectangle active_area) const noexcept |
| | Check if this event is for a left-button-up event while the mouse pointer is in the given area.
|
| |
| vector2 | delta () const noexcept |
| | Get the location of the mouse relative to the start of a drag.
|
| |
◆ delta()
| vector2 v1::mouse_event::delta |
( |
| ) |
const |
|
inlinenoexcept |
Get the location of the mouse relative to the start of a drag.
◆ is_left_button_up()
| bool v1::mouse_event::is_left_button_up |
( |
aarectangle | active_area | ) |
const |
|
inlinenoexcept |
Check if this event is for a left-button-up event while the mouse pointer is in the given area.
◆ cause
Buttons which has caused this event.
◆ clickCount
| int v1::mouse_event::clickCount |
Number of clicks from the last button clicked.
◆ down
Buttons that are pressed/held down.
◆ downPosition
| point2 v1::mouse_event::downPosition |
The position the last time a button was pressed.
◆ position
| point2 v1::mouse_event::position |
The current position of the mouse pointer.
◆ wheelDelta
| vector2 v1::mouse_event::wheelDelta |
Change in wheel rotation, in pixels.
The documentation for this struct was generated from the following file: