Base class for all Events. More...
#include <Event.h>
Inherited by cinder::app::FileDropEvent, cinder::app::KeyEvent, cinder::app::MouseEvent, and cinder::app::TouchEvent.
Public Member Functions | |
| bool | isHandled () const |
| Returns whether this event has been marked as handled by one of its slots, terminating the normal iteration of the event's slots. | |
| void | setHandled (bool handled=true) |
| Marks the event as handled, terminating the normal iteration of the event's slots. | |
| WindowRef | getWindow () const |
| Returns the Window in which the MouseEvent occurred. | |
| void | setWindow (const WindowRef &window) |
| virtual | ~Event () |
Public Attributes | |
| bool | mHandled |
| WindowRef | mWindow |
Protected Member Functions | |
| Event () | |
| Event (WindowRef window) | |
Base class for all Events.
| cinder::app::Event::Event | ( | ) | [protected] |
| cinder::app::Event::Event | ( | WindowRef | window | ) | [protected] |
| virtual cinder::app::Event::~Event | ( | ) | [virtual] |
| bool cinder::app::Event::isHandled | ( | ) | const |
Returns whether this event has been marked as handled by one of its slots, terminating the normal iteration of the event's slots.
| void cinder::app::Event::setHandled | ( | bool | handled = true | ) |
Marks the event as handled, terminating the normal iteration of the event's slots.
| WindowRef cinder::app::Event::getWindow | ( | ) | const |
Returns the Window in which the MouseEvent occurred.
| void cinder::app::Event::setWindow | ( | const WindowRef & | window | ) |
Reimplemented in cinder::app::KeyEvent.