![]() |
rag
graphic 2d engine
|
Dispatched by InputText when user writes one character. More...
#include <TextEvent.h>
Public Member Functions | |
TextEvent (std::string type) | |
![]() | |
Event (std::string type) | |
Creates a new event of the given type. | |
virtual std::string | toString () |
string representing the event. | |
Public Attributes | |
std::string | text |
std::string | lastCharacter |
![]() | |
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. | |
Dispatched by InputText when user writes one character.