Rasterfarm-SDK
|
#include <event.h>
Public Types | |
enum | InputType : Event::InputType { KEYBOARD_PRESS , KEYBOARD_RELEASE , KEYBOARD_REPEAT } |
enum | ModifierMask { KEYBOARD_MODIFIER_NONE = 0 , KEYBOARD_MODIFIER_SHIFT = 1 , KEYBOARD_MODIFIER_LOCK = 2 , KEYBOARD_MODIFIER_CTRL = 4 , KEYBOARD_MODIFIER_ALT = 8 } |
typedef long unsigned | KeySym |
typedef unsigned char | KeyCode |
Public Types inherited from Event | |
enum | { UNKNOWN = 0 } |
typedef uint | InputType |
Public Member Functions | |
KeyboardEvent () | |
KeyboardEvent (KeySym keySym, ModifierMask modifierMask, InputType subType) | |
KeySym | getKeySym () const |
ModifierMask | getModifierMask () const |
Public Member Functions inherited from Event | |
Event (InputType subType=UNKNOWN) | |
virtual | ~Event () |
const InputType | getSubType () const |
Public Member Functions inherited from DynamicType | |
DynamicType () | |
template<class C > | |
void | addType () |
TypeID | getDerivedTypeId () const |
template<class C > | |
const bool | isType () const |
template<class C > | |
const C * | cast () const |
template<class C > | |
C * | cast () |
template<class FROM , class TO > | |
TO * | cast () |
template<class FROM , class TO > | |
const TO * | cast () const |
Friends | |
class | Application |
Additional Inherited Members | |
Public Attributes inherited from Event | |
InputType | subType |
User-input event from keyboard.
typedef unsigned char KeyboardEvent::KeyCode |
typedef long unsigned KeyboardEvent::KeySym |
KeyboardEvent::KeyboardEvent | ( | ) |
KeyboardEvent::KeyboardEvent | ( | KeySym | keySym, |
ModifierMask | modifierMask, | ||
InputType | subType ) |
|
inline |
|
inline |
|
friend |