-/**
- *
+<!--
+/**-->
Multi-Touch Events
==================
Touch events are received via signals.
-For C++ API see Dali::Actor::TouchedSignal() and Dali::Actor::HoveredSignal() for more details.
+For C++ API see Dali::Actor::TouchSignal() and Dali::Actor::HoveredSignal() for more details.
-For JavaScript use actor.connect( "touched", myCallback ) and actor.connect("hovered", myCallback );
+For JavaScript use actor.connect( "touch", myCallback ) and actor.connect("hovered", myCallback );
### Hit Testing Rules Summary:
- Actors
- The final part of hit testing is performed by walking through the actor tree within a layer.
- - The following pseudocode shows the algorithm used:
+ - The following pseudo-code shows the algorithm used:
~~~
actor (and its parents). There will be NO touch signal delivery for the hit actors of the
other touch points.
- The local coordinates are from the top-left (0.0f, 0.0f, 0.5f) of the hit actor.
- - The following pseudocode shows the delivery mechanism:
+ - The following pseudo-code shows the delivery mechanism:
~~~
EMIT-TOUCH-SIGNAL( ACTOR )
IF ( TOUCH-SIGNAL-NOT-EMPTY )
{
// Only do the emission if touch signal of actor has connections.
- CONSUMED = TOUCHED-SIGNAL( TOUCH-EVENT )
+ CONSUMED = TOUCH-SIGNAL( TOUCH-DATA )
}
IF ( NOT-CONSUMED )
touch signals are also emitted from the touch-down actor with an "Interrupted" state.
@class MultiTouch
-*
+
*/