(HitTest) Added API to layer so that it can consume all touch if required 82/24082/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Wed, 18 Jun 2014 01:17:26 +0000 (10:17 +0900)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 8 Jul 2014 13:15:32 +0000 (14:15 +0100)
commit71ea008bc985fb640e2a193d6c5af270e9b897e5
treea8e51100495a060742b104342bd60215429dba77
parent1069b20b5392340de290f0ae9b404c81cb9cb690
(HitTest) Added API to layer so that it can consume all touch if required

[problem]     Currently, the only way to stop gestures being delivered to actors behind a layer is
              by attaching the layer to a gesture detector which is cumbersome.
[cause]       N/A
[solution]    Implemented an API which allows the user to set whether a layer should consume all
              touch. When this is set on a layer, any layers behind that layer are not hit-test.

Change-Id: I34468c13a3b7b5f81a53ca4746a5c97a4ece09ba
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
15 files changed:
automated-tests/src/dali/tct-dali-core.h
automated-tests/src/dali/utc-Dali-Layer.cpp
automated-tests/src/dali/utc-Dali-LongPressGestureDetector.cpp
automated-tests/src/dali/utc-Dali-PanGestureDetector.cpp
automated-tests/src/dali/utc-Dali-PinchGestureDetector.cpp
automated-tests/src/dali/utc-Dali-TapGestureDetector.cpp
automated-tests/src/dali/utc-Dali-TouchProcessing.cpp
capi/dali/public-api/actors/actor.h
capi/dali/public-api/actors/layer.h
dali/internal/event/actors/layer-impl.cpp
dali/internal/event/actors/layer-impl.h
dali/internal/event/events/gesture-processor.cpp
dali/internal/event/events/hit-test-algorithm-impl.cpp
dali/internal/event/events/hit-test-algorithm-impl.h
dali/public-api/actors/layer.cpp