![]() |
rag
graphic 2d engine
|
Event to handle KeyBoard actions. More...
#include <KeyboardEvent.h>
Public Member Functions | |
KeyboardEvent (std::string type) | |
virtual std::string | toString () |
String representation of the event. | |
![]() | |
Event (std::string type) | |
Creates a new event of the given type. | |
Public Attributes | |
std::string | key |
Key pressed, encoded in UTF-8. | |
int | charCode |
Character code. | |
![]() | |
std::string | type |
The type of the event. The string should be unique for this event. | |
bool | captured |
When an event is captured, it won't propagate anymore through the Display List. | |
rag::DisplayObject * | target |
Usually points to the dispatcher object. 'target' can be assigned to anything for custom events. | |
Event to handle KeyBoard actions.