|
Blender
V2.93
|
#include <GHOST_EventKey.h>
Inherits GHOST_Event.
Public Member Functions | |
| GHOST_EventKey (GHOST_TUns64 msec, GHOST_TEventType type, GHOST_IWindow *window, GHOST_TKey key, bool is_repeat) | |
| GHOST_EventKey (GHOST_TUns64 msec, GHOST_TEventType type, GHOST_IWindow *window, GHOST_TKey key, char ascii, const char utf8_buf[6], bool is_repeat) | |
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_IWindow * | getWindow () |
| GHOST_TEventDataPtr | getData () |
Public Member Functions inherited from GHOST_IEvent | |
| virtual | ~GHOST_IEvent () |
Protected Attributes | |
| GHOST_TEventKeyData | m_keyEventData |
Protected Attributes inherited from GHOST_Event | |
| GHOST_TEventType | m_type |
| GHOST_TUns64 | m_time |
| GHOST_IWindow * | m_window |
| GHOST_TEventDataPtr | m_data |
Key event.
Definition at line 34 of file GHOST_EventKey.h.
|
inline |
Constructor.
| msec | The time this event was generated. |
| type | The type of key event. |
| key | The key code of the key. |
Definition at line 42 of file GHOST_EventKey.h.
References GHOST_TEventKeyData::ascii, GHOST_TEventKeyData::is_repeat, GHOST_TEventKeyData::key, GHOST_Event::m_data, m_keyEventData, and GHOST_TEventKeyData::utf8_buf.
|
inline |
Constructor.
| msec | The time this event was generated. |
| type | The type of key event. |
| key | The key code of the key. |
| ascii | The ascii code for the key event. |
Definition at line 63 of file GHOST_EventKey.h.
References GHOST_TEventKeyData::ascii, GHOST_TEventKeyData::is_repeat, GHOST_TEventKeyData::key, GHOST_Event::m_data, m_keyEventData, and GHOST_TEventKeyData::utf8_buf.
|
protected |