A structure containing information on a mouse event.
More...
#include <Event.hpp>
|
| uint32 | id |
| | The mouse instance identifier, or SDL_TOUCH_MOUSEID.
|
| int32 | x |
| | The X coordinate, relative to the nom::Window instance.
|
| int32 | y |
| | The Y coordinate, relative to the nom::Window instance.
|
| int32 | x_rel |
| | The relative motion in the X coordinate direction.
|
| int32 | y_rel |
| | The relative motion in the Y coordinate direction.
|
| uint8 | state |
| | The state of the button.
|
| uint32 | window_id |
| | The identifier of the window at the moment of the event.
|
A structure containing information on a mouse event.
Definition at line 142 of file Event.hpp.
◆ id
| uint32 nom::MouseMotionEvent::id |
The mouse instance identifier, or SDL_TOUCH_MOUSEID.
Definition at line 149 of file Event.hpp.
◆ state
| uint8 nom::MouseMotionEvent::state |
The state of the button.
Definition at line 168 of file Event.hpp.
◆ window_id
| uint32 nom::MouseMotionEvent::window_id |
The identifier of the window at the moment of the event.
Definition at line 171 of file Event.hpp.
| int32 nom::MouseMotionEvent::x |
The X coordinate, relative to the nom::Window instance.
Definition at line 152 of file Event.hpp.
◆ x_rel
| int32 nom::MouseMotionEvent::x_rel |
The relative motion in the X coordinate direction.
Definition at line 158 of file Event.hpp.
| int32 nom::MouseMotionEvent::y |
The Y coordinate, relative to the nom::Window instance.
Definition at line 155 of file Event.hpp.
◆ y_rel
| int32 nom::MouseMotionEvent::y_rel |
The relative motion in the Y coordinate direction.
Definition at line 161 of file Event.hpp.
The documentation for this struct was generated from the following file:
- /home/jeff/Projects/nomlib.git/include/nomlib/system/Event.hpp