Represents a touch event. More...
#include <TouchEvent.h>
Classes | |
class | Touch |
Public Member Functions | |
TouchEvent () | |
TouchEvent (WindowRef win, const std::vector< Touch > &touches) | |
const std::vector< Touch > & | getTouches () const |
Returns a std::vector of Touch descriptors associated with this event. More... | |
std::vector< Touch > & | getTouches () |
Returns a std::vector of Touch descriptors associated with this event. More... | |
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. More... | |
void | setHandled (bool handled=true) |
Marks the event as handled, terminating the normal iteration of the event's slots. More... | |
WindowRef | getWindow () const |
Returns the Window in which the MouseEvent occurred. More... | |
void | setWindow (const WindowRef &window) |
Public Attributes | |
WindowRef | mWindow |
Represents a touch event.
cinder::app::TouchEvent::TouchEvent | ( | ) |
const std::vector<Touch>& cinder::app::TouchEvent::getTouches | ( | ) | const |
Returns a std::vector of Touch descriptors associated with this event.
std::vector<Touch>& cinder::app::TouchEvent::getTouches | ( | ) |
Returns a std::vector of Touch descriptors associated with this event.
|
inherited |
Returns whether this event has been marked as handled by one of its slots, terminating the normal iteration of the event's slots.
|
inherited |
Marks the event as handled, terminating the normal iteration of the event's slots.
|
inherited |
Returns the Window in which the MouseEvent occurred.
|
inherited |