#include <faith/event.h>
Inheritance diagram for Faith::KeyPressEvent:

Public Member Functions | |
| KeyPressEvent (EventType t, int state, Key key, const String &text) | |
| String | text () const |
| int | state () const |
| Key | key () const |
Used for EventKeyPress and EventKeyRelease
| Faith::KeyPressEvent::KeyPressEvent | ( | EventType | t, | |
| int | state, | |||
| Key | key, | |||
| const String & | text | |||
| ) | [inline] |
| Key Faith::KeyPressEvent::key | ( | ) | const [inline] |
| int Faith::KeyPressEvent::state | ( | ) | const [inline] |
what keys were pressed at the time? Event::ButtonState, ORed
| String Faith::KeyPressEvent::text | ( | ) | const [inline] |
a string of one or more characters used. May be empty if a non-printable character was pressed, like Page_Up
1.4.7