#include <Control.h>
Public Types | |
| enum | EventType { PRESS = 0x01, RELEASE = 0x02, CLICK = 0x04, VALUE_CHANGED = 0x08, TEXT_CHANGED = 0x10, MIDDLE_CLICK = 0x20, RIGHT_CLICK = 0x40, FOCUS_GAINED = 0x200, FOCUS_LOST = 0x400 } |
Public Member Functions | |
| virtual void | controlEvent (Control *control, EventType evt)=0 |
Implement Control::Listener and call Control::addListener() in order to listen for events on controls.
Defines the Listener's event types.
| virtual void gameplay::Control::Listener::controlEvent | ( | Control * | control, |
| EventType | evt | ||
| ) | [pure virtual] |
Method called by controls when an event is triggered.
| control | The control triggering the event. |
| evt | The event triggered. |
1.7.6.1