Berserk
|
#include <EventKeyboard.hpp>
Public Member Functions | |
BRK_API | EventKeyboard ()=default |
BRK_API | ~EventKeyboard () override=default |
BRK_API const EventType & | GetEventType () const override |
BRK_API void | SetText (String text) |
BRK_API void | SetModifiers (InputModifiers modifiers) |
BRK_API void | SetAction (InputAction action) |
BRK_API void | SetKey (InputKeyboardKey key) |
BRK_API const String & | GetText () const |
BRK_API InputModifiers | GetModifiers () const |
BRK_API InputAction | GetAction () const |
BRK_API InputKeyboardKey | GetKey () const |
![]() | |
BRK_API | Event ()=default |
BRK_API | ~Event () override=default |
![]() | |
virtual | ~RefCnt () |
bool | IsUnique () const |
std::int32_t | GetRefs () const |
std::int32_t | AddRef () const |
std::int32_t | RelRef () const |
Static Public Member Functions | |
static BRK_API const EventType & | GetEventTypeStatic () |
Additional Inherited Members | |
![]() | |
virtual void | Destroy () const |
Keyboard input event.
|
default |
|
overridedefault |
InputAction EventKeyboard::GetAction | ( | ) | const |
|
overridevirtual |
Implements Event.
|
static |
InputKeyboardKey EventKeyboard::GetKey | ( | ) | const |
InputModifiers EventKeyboard::GetModifiers | ( | ) | const |
const String & EventKeyboard::GetText | ( | ) | const |
void EventKeyboard::SetAction | ( | InputAction | action | ) |
void EventKeyboard::SetKey | ( | InputKeyboardKey | key | ) |
void EventKeyboard::SetModifiers | ( | InputModifiers | modifiers | ) |
void EventKeyboard::SetText | ( | String | text | ) |