|
Blender V4.3
|
#include <GHOST_EventKey.hh>
Inherits GHOST_Event.
Public Member Functions | |
| GHOST_EventKey (uint64_t msec, GHOST_TEventType type, GHOST_IWindow *window, GHOST_TKey key, bool is_repeat) | |
| GHOST_EventKey (uint64_t msec, GHOST_TEventType type, GHOST_IWindow *window, GHOST_TKey key, bool is_repeat, const char utf8_buf[6]) | |
Public Member Functions inherited from GHOST_Event | |
| GHOST_Event (uint64_t msec, GHOST_TEventType type, GHOST_IWindow *window) | |
| GHOST_TEventType | getType () const |
| uint64_t | getTime () const |
| GHOST_IWindow * | getWindow () const |
| GHOST_TEventDataPtr | getData () const |
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 |
| uint64_t | m_time |
| GHOST_IWindow * | m_window |
| GHOST_TEventDataPtr | m_data |
Key event.
Definition at line 19 of file GHOST_EventKey.hh.
|
inline |
Constructor.
| msec | The time this event was generated. |
| type | The type of key event. |
| key | The key code of the key. |
| is_repeat | Enabled for key repeat events (only for press events). |
Definition at line 28 of file GHOST_EventKey.hh.
References 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. |
| is_repeat | Enabled for key repeat events (only for press events). |
| utf8_buf | The text associated with this key event (only for press events). |
Definition at line 46 of file GHOST_EventKey.hh.
References GHOST_TEventKeyData::is_repeat, GHOST_TEventKeyData::key, GHOST_Event::m_data, m_keyEventData, and GHOST_TEventKeyData::utf8_buf.
|
protected |
The key event data.
Definition at line 67 of file GHOST_EventKey.hh.
Referenced by GHOST_EventKey(), and GHOST_EventKey().