#include <KeyEventArgs.h>
Public Member Functions | |
| virtual | ~KeyEventArgs (void) |
| KeyEventArgs (faces::Face *face, unsigned key_index, float action_time) | |
| unsigned | GetKeyIndex () const |
| float | GetActionTime () const |
The (base) class for event arguments passed in to key event callbacks.
| virtual fl7::events::KeyEventArgs::~KeyEventArgs | ( | void | ) | [inline, virtual] |
Destructor.
| fl7::events::KeyEventArgs::KeyEventArgs | ( | faces::Face * | face, | |
| unsigned | key_index, | |||
| float | action_time | |||
| ) | [inline] |
Explicit constructor.
| float fl7::events::KeyEventArgs::GetActionTime | ( | ) | const [inline] |
Returns the time (in seconds) the key has been in action (or 0).
| unsigned fl7::events::KeyEventArgs::GetKeyIndex | ( | ) | const [inline] |
Returns the index of the key that has been pressed or released.
1.7.1