|
Blender V4.5
|
#include <GHOST_EventCursor.hh>
Inherits GHOST_Event.
Public Member Functions | |
| GHOST_EventCursor (uint64_t msec, GHOST_TEventType type, GHOST_IWindow *window, int32_t x, int32_t y, const GHOST_TabletData &tablet) | |
| Public Member Functions inherited from GHOST_Event | |
| GHOST_Event (uint64_t msec, GHOST_TEventType type, GHOST_IWindow *window) | |
| GHOST_TEventType | getType () const override |
| uint64_t | getTime () const override |
| GHOST_IWindow * | getWindow () const override |
| GHOST_TEventDataPtr | getData () const override |
| Public Member Functions inherited from GHOST_IEvent | |
| virtual | ~GHOST_IEvent ()=default |
Protected Attributes | |
| GHOST_TEventCursorData | m_cursorEventData |
| Protected Attributes inherited from GHOST_Event | |
| GHOST_TEventType | m_type |
| uint64_t | m_time |
| GHOST_IWindow * | m_window |
| GHOST_TEventDataPtr | m_data = nullptr |
Cursor event.
Definition at line 17 of file GHOST_EventCursor.hh.
|
inline |
Constructor.
| msec | The time this event was generated. |
| type | The type of this event. |
| x | The x-coordinate of the location the cursor was at the time of the event. |
| y | The y-coordinate of the location the cursor was at the time of the event. |
| tablet | The tablet data associated with this event. |
Definition at line 27 of file GHOST_EventCursor.hh.
References GHOST_Event::GHOST_Event(), m_cursorEventData, x, and y.
|
protected |
The x,y-coordinates of the cursor position.
Definition at line 40 of file GHOST_EventCursor.hh.
Referenced by GHOST_EventCursor().