return target;
}
+ //----------------------------------------------------------------------------
+ ElementWeakPtr Event::getCurrentTarget() const
+ {
+ return current_target;
+ }
+
//----------------------------------------------------------------------------
double Event::getTime() const
{
};
Type type;
- ElementWeakPtr target;
+ ElementWeakPtr target,
+ current_target;
double time;
bool propagation_stopped;
std::string getTypeString() const;
ElementWeakPtr getTarget() const;
+ ElementWeakPtr getCurrentTarget() const;
double getTime() const;
//mouse_event->delta = it->local_delta;
}
+ event->current_target = el;
el->handleEvent(event);
if( event->propagation_stopped || !do_bubble )