2 #include "oxygine-include.h" 3 #include "closure/closure.h" 5 #include "EventDispatcher.h" 13 enum { COMPLETE = sysEventID(
'C',
'M',
'P') };
22 Event(eventType Type,
bool Bubbles =
false) : listenerID(0), userData(0), type(Type), phase(phase_target), bubbles(Bubbles), stopsImmediatePropagation(
false), stopsPropagation(
false) {}
28 bool stopsImmediatePropagation;
29 bool stopsPropagation;
32 spObject userDataObject;
40 void stopPropagation() { stopsPropagation =
true; }
41 void stopImmediatePropagation() { stopsPropagation = stopsImmediatePropagation =
true; }
void removeListener()
Definition: Event.h:51
spEventDispatcher target
Definition: Event.h:36
–oxgl-end–!
Definition: Actor.h:14
spEventDispatcher currentTarget
Definition: Event.h:38