#include <cevent.h>
Inheritance diagram for CEvent:

Public Member Functions | |
| virtual int | is_ctrl_pressed ()=0 |
| virtual char | get_key_ascii_value ()=0 |
| virtual int | get_type ()=0 |
Static Public Attributes | |
| const int | TYPE_KEY_DOWN = 1 |
| const int | TYPE_APPLICATION_EXIT = 2 |
Definition at line 24 of file cevent.h.
|
|
If the event is of type TYPE_KEY_DOWN, returns the ASCII value of the key pressed. Implemented in SDLDriver::CEventSDL. |
|
|
Returns the type of the event (one of the TYPE_* constants). Implemented in SDLDriver::CEventSDL. |
|
|
Returns whether the CTRL key modifier was pressed when the event occurred. Implemented in SDLDriver::CEventSDL. |
|
|
The application has been told to exit (e.g., the user clicked on the application window's close box, etc.). |
|
|
A key has been pressed down. |
1.3.3