KbKeyAppearEvent class reference
An event raised when the parent window captures a key. The character is not encoded. An event used when handling special keys.
Functions documentation
KbKeyAppearEvent
(
Window
* owner, int key, int scancode, int action, int mods);
Default constructor.
KbKeyAppearEvent
* Clone() const;
Implementation of the event cloning function.
int GetKey() const;
Returns key.
int GetState() const;
Returns key statce. The "0" is pressed, "1" is released.
int GetScanCode() const;
Returns key scancode.
int GetMods() const;
Returns modifier.
Variables documentation
int m_iKey;
Stores data regarding key.
int m_iScanCode;
Stores data regarding key scancode.
int m_iAction;
Stores data regarding key state (pressed or released).
int m_iMods;
Stores data regarding key modifiers.