Blender  V2.93
Public Member Functions | Protected Attributes | List of all members
GHOST_EventCursor Class Reference

#include <GHOST_EventCursor.h>

Inherits GHOST_Event.

Public Member Functions

 GHOST_EventCursor (GHOST_TUns64 msec, GHOST_TEventType type, GHOST_IWindow *window, GHOST_TInt32 x, GHOST_TInt32 y, const GHOST_TabletData &tablet)
 
- Public Member Functions inherited from GHOST_Event
 GHOST_Event (GHOST_TUns64 msec, GHOST_TEventType type, GHOST_IWindow *window)
 
GHOST_TEventType getType ()
 
GHOST_TUns64 getTime ()
 
GHOST_IWindowgetWindow ()
 
GHOST_TEventDataPtr getData ()
 
- Public Member Functions inherited from GHOST_IEvent
virtual ~GHOST_IEvent ()
 

Protected Attributes

GHOST_TEventCursorData m_cursorEventData
 
- Protected Attributes inherited from GHOST_Event
GHOST_TEventType m_type
 
GHOST_TUns64 m_time
 
GHOST_IWindowm_window
 
GHOST_TEventDataPtr m_data
 

Detailed Description

Cursor event.

Definition at line 32 of file GHOST_EventCursor.h.

Constructor & Destructor Documentation

◆ GHOST_EventCursor()

GHOST_EventCursor::GHOST_EventCursor ( GHOST_TUns64  msec,
GHOST_TEventType  type,
GHOST_IWindow window,
GHOST_TInt32  x,
GHOST_TInt32  y,
const GHOST_TabletData tablet 
)
inline

Constructor.

Parameters
msecThe time this event was generated.
typeThe type of this event.
xThe x-coordinate of the location the cursor was at the time of the event.
yThe y-coordinate of the location the cursor was at the time of the event.
tabletThe tablet data associated with this event.

Definition at line 42 of file GHOST_EventCursor.h.

References x, and y.

Member Data Documentation

◆ m_cursorEventData

GHOST_TEventCursorData GHOST_EventCursor::m_cursorEventData
protected

The x,y-coordinates of the cursor position.

Definition at line 55 of file GHOST_EventCursor.h.


The documentation for this class was generated from the following file: