Blender V2.61 - r43446
|
#include <GHOST_Event.h>
Public Member Functions | |
GHOST_Event (GHOST_TUns64 msec, GHOST_TEventType type, GHOST_IWindow *window) | |
virtual GHOST_TEventType | getType () |
virtual GHOST_TUns64 | getTime () |
virtual GHOST_IWindow * | getWindow () |
virtual GHOST_TEventDataPtr | getData () |
Protected Attributes | |
GHOST_TEventType | m_type |
GHOST_TUns64 | m_time |
GHOST_IWindow * | m_window |
GHOST_TEventDataPtr | m_data |
Base class for events received the operating system.
Definition at line 44 of file GHOST_Event.h.
GHOST_Event::GHOST_Event | ( | GHOST_TUns64 | msec, |
GHOST_TEventType | type, | ||
GHOST_IWindow * | window | ||
) | [inline] |
Constructor.
msec | The time this event was generated. |
type | The type of this event. |
window | The generating window (or NULL if system event). |
Definition at line 53 of file GHOST_Event.h.
virtual GHOST_TEventDataPtr GHOST_Event::getData | ( | ) | [inline, virtual] |
Returns the event data.
Implements GHOST_IEvent.
Definition at line 90 of file GHOST_Event.h.
References m_data.
virtual GHOST_TUns64 GHOST_Event::getTime | ( | ) | [inline, virtual] |
Returns the time this event was generated.
Implements GHOST_IEvent.
Definition at line 71 of file GHOST_Event.h.
References m_time.
virtual GHOST_TEventType GHOST_Event::getType | ( | void | ) | [inline, virtual] |
Returns the event type.
Implements GHOST_IEvent.
Definition at line 62 of file GHOST_Event.h.
References m_type.
virtual GHOST_IWindow* GHOST_Event::getWindow | ( | ) | [inline, virtual] |
Returns the window this event was generated on, or NULL if it is a 'system' event.
Implements GHOST_IEvent.
Definition at line 81 of file GHOST_Event.h.
References m_window.
GHOST_TEventDataPtr GHOST_Event::m_data [protected] |
Pointer to the event data.
Definition at line 103 of file GHOST_Event.h.
Referenced by getData(), GHOST_EventButton::GHOST_EventButton(), GHOST_EventCursor::GHOST_EventCursor(), GHOST_EventDragnDrop::GHOST_EventDragnDrop(), GHOST_EventKey::GHOST_EventKey(), GHOST_EventNDOFButton::GHOST_EventNDOFButton(), GHOST_EventNDOFMotion::GHOST_EventNDOFMotion(), GHOST_EventString::GHOST_EventString(), GHOST_EventTrackpad::GHOST_EventTrackpad(), GHOST_EventWheel::GHOST_EventWheel(), and GHOST_EventString::~GHOST_EventString().
GHOST_TUns64 GHOST_Event::m_time [protected] |
The time this event was generated.
Definition at line 99 of file GHOST_Event.h.
Referenced by getTime().
GHOST_TEventType GHOST_Event::m_type [protected] |
GHOST_IWindow* GHOST_Event::m_window [protected] |
Pointer to the generating window.
Definition at line 101 of file GHOST_Event.h.
Referenced by getWindow().