AnimaL |
Tutorial |
Documentation |
#include <keyEvent.h>
Inheritance diagram for animal::KeyEvent:

Definition at line 13 of file keyEvent.h.
Public Member Functions | |
| KeyEvent (TypeInt type, KeyInt key, ButtonStateInt state) | |
| Constructor. | |
| virtual | ~KeyEvent () |
| Destructor. | |
| KeyInt | key () const |
| Return the code of the key ( animal::Key) that was pressed or released. | |
| bool | isAccepted () const |
| Return TRUE if the receiver of the event wants to keep the key; otherwise returns FALSE. | |
| void | accept () |
| Set the member AnimalKeyEvent::_accepted to true. | |
| void | ignore () |
| Set the member AnimalKeyEvent::_accepted to false. | |
Protected Attributes | |
| bool | _accepted |
| KeyInt | _key |
|
||||||||||||||||
|
Constructor.
Definition at line 17 of file keyEvent.h. |
|
|
Destructor.
Definition at line 23 of file keyEvent.h. |
|
|
Set the member AnimalKeyEvent::_accepted to true.
Definition at line 29 of file keyEvent.h. References _accepted. |
|
|
Set the member AnimalKeyEvent::_accepted to false.
Definition at line 31 of file keyEvent.h. References _accepted. |
|
|
Return TRUE if the receiver of the event wants to keep the key; otherwise returns FALSE.
Definition at line 27 of file keyEvent.h. References _accepted. |
|
|
Return the code of the key ( animal::Key) that was pressed or released.
Definition at line 25 of file keyEvent.h. References _key. |
|
|
Definition at line 34 of file keyEvent.h. Referenced by accept(), ignore(), isAccepted(), and KeyEvent(). |
|
|
Definition at line 35 of file keyEvent.h. Referenced by key(), and KeyEvent(). |
1.3.6