![]() |
Cinder
0.9.1
|
#include <Event.h>
Inherited by cinder::app::FileDropEvent, cinder::app::KeyEvent, cinder::app::MouseEvent, and cinder::app::TouchEvent.
Public Member Functions | |
bool | isHandled () const |
void | setHandled (bool handled=true) |
WindowRef | getWindow () const |
void | setWindow (const WindowRef &window) |
virtual | ~Event () |
Public Attributes | |
bool | mHandled |
WindowRef | mWindow |
Protected Member Functions | |
Event () | |
Event (const WindowRef &window) | |
Base class for all Events.
|
protected |
|
protected |
|
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 | ) |
bool cinder::app::Event::mHandled |
WindowRef cinder::app::Event::mWindow |