Blender
V3.3
|
#include <GHOST_EventKey.h>
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]) | |
![]() | |
GHOST_Event (uint64_t msec, GHOST_TEventType type, GHOST_IWindow *window) | |
GHOST_TEventType | getType () |
uint64_t | getTime () |
GHOST_IWindow * | getWindow () |
GHOST_TEventDataPtr | getData () |
![]() | |
virtual | ~GHOST_IEvent () |
Protected Attributes | |
GHOST_TEventKeyData | m_keyEventData |
![]() | |
GHOST_TEventType | m_type |
uint64_t | m_time |
GHOST_IWindow * | m_window |
GHOST_TEventDataPtr | m_data |
Key event.
Definition at line 18 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. |
is_repeat | Enabled for key repeat events (only for press events). |
Definition at line 27 of file GHOST_EventKey.h.
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 45 of file GHOST_EventKey.h.
References GHOST_TEventKeyData::is_repeat, GHOST_TEventKeyData::key, GHOST_Event::m_data, m_keyEventData, and GHOST_TEventKeyData::utf8_buf.
|
protected |