summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/alpha-blending-cpu/alpha-blending-cpu-example.cpp6
-rw-r--r--examples/animated-gradient-card-active/animated-gradient-card-active.cpp4
-rw-r--r--examples/arc-visual/arc-visual-example.cpp4
-rw-r--r--examples/benchmark/benchmark.cpp2
-rw-r--r--examples/bezier-curve/bezier-curve-example.cpp4
-rw-r--r--examples/blocks/blocks-example.cpp4
-rw-r--r--examples/bubble-effect/bubble-effect-example.cpp2
-rw-r--r--examples/clipping-draw-order/clipping-draw-order.cpp2
-rw-r--r--examples/color-visual/color-visual-example.cpp2
-rw-r--r--examples/compressed-texture-formats/compressed-texture-formats-example.cpp2
-rw-r--r--examples/fpp-game/fpp-game-tutorial-controller.cpp4
-rw-r--r--examples/fpp-game/fpp-game-tutorial-controller.h2
-rw-r--r--examples/fpp-game/game-camera.cpp4
-rw-r--r--examples/fpp-game/game-camera.h2
-rw-r--r--examples/gaussian-blur-view/gaussian-blur-view-example.cpp2
-rw-r--r--examples/gestures/gesture-example.cpp2
-rw-r--r--examples/hello-world/hello-world-example.cpp2
-rw-r--r--examples/homescreen-benchmark/homescreen-benchmark.cpp2
-rw-r--r--examples/image-scaling-and-filtering/image-scaling-and-filtering-example.cpp2
-rw-r--r--examples/image-scaling-irregular-grid/image-scaling-irregular-grid-example.cpp2
-rw-r--r--examples/magnifier/magnifier-example.cpp2
-rw-r--r--examples/mesh-visual/mesh-visual-example.cpp2
-rw-r--r--examples/metaball-explosion/metaball-explosion-example.cpp4
-rw-r--r--examples/metaball-refrac/metaball-refrac-example.cpp4
-rw-r--r--examples/perf-scroll/perf-scroll.cpp2
-rw-r--r--examples/ray-marching/ray-marching-example.cpp2
-rw-r--r--examples/refraction-effect/refraction-effect-example.cpp2
-rw-r--r--examples/remote-image-loading/remote-image-loading-example.cpp4
-rw-r--r--examples/renderer-stencil/renderer-stencil-example.cpp2
-rw-r--r--examples/rendering-basic-light/rendering-basic-light-example.cpp2
-rw-r--r--examples/rendering-basic-pbr/rendering-basic-pbr-example.cpp2
-rw-r--r--examples/rendering-cube/rendering-cube.cpp2
-rw-r--r--examples/rendering-line/rendering-line.cpp2
-rw-r--r--examples/rendering-radial-progress/radial-progress.cpp2
-rw-r--r--examples/rendering-skybox/look-camera.cpp4
-rw-r--r--examples/rendering-skybox/look-camera.h2
-rw-r--r--examples/rendering-textured-cube/rendering-textured-cube.cpp2
-rw-r--r--examples/rendering-triangle/rendering-triangle.cpp2
-rw-r--r--examples/scroll-view/scroll-view-example.cpp2
-rw-r--r--examples/text-field/text-field-example.cpp2
-rw-r--r--examples/text-label-emojis/text-label-emojis.cpp2
-rw-r--r--examples/text-label-multi-language/text-label-multi-language-example.cpp2
-rw-r--r--examples/tilt/tilt-example.cpp2
-rw-r--r--examples/visual-transitions/transition-application.cpp4
-rw-r--r--examples/visual-transitions/transition-application.h4
-rw-r--r--examples/web-view/web-view-example.cpp2
-rw-r--r--shared/dali-table-view.cpp4
-rw-r--r--shared/dali-table-view.h6
48 files changed, 65 insertions, 65 deletions
diff --git a/examples/alpha-blending-cpu/alpha-blending-cpu-example.cpp b/examples/alpha-blending-cpu/alpha-blending-cpu-example.cpp
index 4a80e595..6ed10ed5 100644
--- a/examples/alpha-blending-cpu/alpha-blending-cpu-example.cpp
+++ b/examples/alpha-blending-cpu/alpha-blending-cpu-example.cpp
@@ -83,15 +83,15 @@ private:
window.TouchSignal().Connect( this, &ImageViewAlphaBlendApp::OnTouched );
}
- void OnTouched( const TouchData& touchData )
+ void OnTouched( const TouchEvent& touch )
{
static bool touched = false;
- if( touchData.GetState( 0 ) == PointState::DOWN )
+ if( touch.GetState( 0 ) == PointState::DOWN )
{
touched = true;
}
- if( touchData.GetState( 0 ) == PointState::UP && touched)
+ if( touch.GetState( 0 ) == PointState::UP && touched )
{
mImageCombinationIndex++;
touched = false;
diff --git a/examples/animated-gradient-card-active/animated-gradient-card-active.cpp b/examples/animated-gradient-card-active/animated-gradient-card-active.cpp
index 7ec7d9fc..9861aa43 100644
--- a/examples/animated-gradient-card-active/animated-gradient-card-active.cpp
+++ b/examples/animated-gradient-card-active/animated-gradient-card-active.cpp
@@ -312,7 +312,7 @@ public:
Reset();
}
- bool OnTouchCards(Actor actor, const TouchData &data)
+ bool OnTouchCards(Actor actor, const TouchEvent &data)
{
if( data.GetPointCount() > 0 )
{
@@ -347,7 +347,7 @@ public:
return true;
}
- bool OnTouchLayer(Actor actor, const TouchData &data)
+ bool OnTouchLayer(Actor actor, const TouchEvent &data)
{
if( data.GetPointCount() > 0 )
{
diff --git a/examples/arc-visual/arc-visual-example.cpp b/examples/arc-visual/arc-visual-example.cpp
index 3131981f..88e42536 100644
--- a/examples/arc-visual/arc-visual-example.cpp
+++ b/examples/arc-visual/arc-visual-example.cpp
@@ -171,7 +171,7 @@ private:
window.KeyEventSignal().Connect( this, &ArcVisualExample::OnKeyEvent );
}
- bool OnButtonTouch( Actor actor, const TouchData& touch )
+ bool OnButtonTouch( Actor actor, const TouchEvent& touch )
{
if( touch.GetState( 0 ) == PointState::UP )
{
@@ -212,7 +212,7 @@ private:
return true;
}
- bool OnTouch( Actor actor, const TouchData& touch )
+ bool OnTouch( Actor actor, const TouchEvent& touch )
{
if( touch.GetState( 0 ) == PointState::UP )
{
diff --git a/examples/benchmark/benchmark.cpp b/examples/benchmark/benchmark.cpp
index e8755a5e..7a12692b 100644
--- a/examples/benchmark/benchmark.cpp
+++ b/examples/benchmark/benchmark.cpp
@@ -256,7 +256,7 @@ public:
ShowAnimation();
}
- bool OnTouch( Actor actor, const TouchData& touch )
+ bool OnTouch( Actor actor, const TouchEvent& touch )
{
// quit the application
mApplication.Quit();
diff --git a/examples/bezier-curve/bezier-curve-example.cpp b/examples/bezier-curve/bezier-curve-example.cpp
index 38405afd..677152e6 100644
--- a/examples/bezier-curve/bezier-curve-example.cpp
+++ b/examples/bezier-curve/bezier-curve-example.cpp
@@ -492,7 +492,7 @@ public:
}
}
- bool OnTouchControlPoint( Actor controlPoint, const TouchData& event )
+ bool OnTouchControlPoint( Actor controlPoint, const TouchEvent& event )
{
if( event.GetPointCount() > 0 )
{
@@ -510,7 +510,7 @@ public:
return false; // Don't mark this as consumed - let the layer get the touch
}
- bool OnTouchLayer( Actor actor, const TouchData& event )
+ bool OnTouchLayer( Actor actor, const TouchEvent& event )
{
if( event.GetPointCount() > 0 )
{
diff --git a/examples/blocks/blocks-example.cpp b/examples/blocks/blocks-example.cpp
index 66c9916f..300f0575 100644
--- a/examples/blocks/blocks-example.cpp
+++ b/examples/blocks/blocks-example.cpp
@@ -615,7 +615,7 @@ private:
* @param[in] actor The actor touched
* @param[in] event The touch event
*/
- bool OnTouchPaddle(Actor actor, const TouchData& event)
+ bool OnTouchPaddle(Actor actor, const TouchEvent& event)
{
if(event.GetPointCount()>0)
{
@@ -641,7 +641,7 @@ private:
* @param[in] actor The actor touched
* @param[in] event The touch event
*/
- bool OnTouchLayer(Actor actor, const TouchData& event)
+ bool OnTouchLayer(Actor actor, const TouchEvent& event)
{
if(event.GetPointCount()>0)
{
diff --git a/examples/bubble-effect/bubble-effect-example.cpp b/examples/bubble-effect/bubble-effect-example.cpp
index ad6b774a..58c78882 100644
--- a/examples/bubble-effect/bubble-effect-example.cpp
+++ b/examples/bubble-effect/bubble-effect-example.cpp
@@ -202,7 +202,7 @@ private:
}
// Callback function of the touch signal on the background
- bool OnTouch(Dali::Actor actor, const Dali::TouchData& event)
+ bool OnTouch(Dali::Actor actor, const Dali::TouchEvent& event)
{
switch( event.GetState( 0 ) )
{
diff --git a/examples/clipping-draw-order/clipping-draw-order.cpp b/examples/clipping-draw-order/clipping-draw-order.cpp
index c8a57757..363ef09b 100644
--- a/examples/clipping-draw-order/clipping-draw-order.cpp
+++ b/examples/clipping-draw-order/clipping-draw-order.cpp
@@ -201,7 +201,7 @@ public:
window.GetRootLayer().TouchSignal().Connect( this, &ClippingDrawOrderVerification::OnTouch );
}
- bool OnTouch( Actor actor, const TouchData& touch )
+ bool OnTouch( Actor actor, const TouchEvent& touch )
{
// Quit the application.
mApplication.Quit();
diff --git a/examples/color-visual/color-visual-example.cpp b/examples/color-visual/color-visual-example.cpp
index d96e586a..27c85d26 100644
--- a/examples/color-visual/color-visual-example.cpp
+++ b/examples/color-visual/color-visual-example.cpp
@@ -86,7 +86,7 @@ public:
window.KeyEventSignal().Connect( this, &ColorVisualExample::OnKeyEvent );
}
- bool OnTouch( Actor actor, const TouchData& touch )
+ bool OnTouch( Actor actor, const TouchEvent& touch )
{
if( touch.GetState( 0 ) == PointState::UP )
{
diff --git a/examples/compressed-texture-formats/compressed-texture-formats-example.cpp b/examples/compressed-texture-formats/compressed-texture-formats-example.cpp
index ec957ce8..912d6f46 100644
--- a/examples/compressed-texture-formats/compressed-texture-formats-example.cpp
+++ b/examples/compressed-texture-formats/compressed-texture-formats-example.cpp
@@ -181,7 +181,7 @@ public:
window.KeyEventSignal().Connect(this, &CompressedTextureFormatsController::OnKeyEvent);
}
- bool OnTouch( Actor actor, const TouchData& touch )
+ bool OnTouch( Actor actor, const TouchEvent& touch )
{
// quit the application
mApplication.Quit();
diff --git a/examples/fpp-game/fpp-game-tutorial-controller.cpp b/examples/fpp-game/fpp-game-tutorial-controller.cpp
index ef20090a..7ee29f1f 100644
--- a/examples/fpp-game/fpp-game-tutorial-controller.cpp
+++ b/examples/fpp-game/fpp-game-tutorial-controller.cpp
@@ -17,7 +17,7 @@
#include "fpp-game-tutorial-controller.h"
-#include <dali/public-api/events/touch-data.h>
+#include <dali/public-api/events/touch-event.h>
#include <dali/public-api/animation/animation.h>
#include <dali/public-api/actors/camera-actor.h>
#include <dali/public-api/object/property-map.h>
@@ -40,7 +40,7 @@ FppGameTutorialController::~FppGameTutorialController()
}
-void FppGameTutorialController::OnTouch( const TouchData& touchEvent )
+void FppGameTutorialController::OnTouch( const TouchEvent& touchEvent )
{
Vector2 size( mWindow.GetSize() );
diff --git a/examples/fpp-game/fpp-game-tutorial-controller.h b/examples/fpp-game/fpp-game-tutorial-controller.h
index cafdeb67..cc09dae0 100644
--- a/examples/fpp-game/fpp-game-tutorial-controller.h
+++ b/examples/fpp-game/fpp-game-tutorial-controller.h
@@ -48,7 +48,7 @@ public:
* Handles tutorial touch input
* @param[in] touchEvent Incoming touch event in the UI space
*/
- void OnTouch( const Dali::TouchData& touchEvent );
+ void OnTouch( const Dali::TouchEvent& touchEvent );
/**
* Handles tutorial animation finished signal
diff --git a/examples/fpp-game/game-camera.cpp b/examples/fpp-game/game-camera.cpp
index 975dafaa..2d33dc6a 100644
--- a/examples/fpp-game/game-camera.cpp
+++ b/examples/fpp-game/game-camera.cpp
@@ -19,7 +19,7 @@
#include <dali/public-api/render-tasks/render-task-list.h>
#include <dali/public-api/render-tasks/render-task.h>
-#include <dali/public-api/events/touch-data.h>
+#include <dali/public-api/events/touch-event.h>
using namespace Dali;
@@ -204,7 +204,7 @@ void GameCamera::CreateInterceptorActor()
mInterceptorActor.TouchSignal().Connect( this, &GameCamera::OnTouch );
}
-bool GameCamera::OnTouch( Actor actor, const TouchData& touch )
+bool GameCamera::OnTouch( Actor actor, const TouchEvent& touch )
{
for( int i = 0; i < (int)touch.GetPointCount() && i < 3; ++i )
{
diff --git a/examples/fpp-game/game-camera.h b/examples/fpp-game/game-camera.h
index edbfdc8c..879af850 100644
--- a/examples/fpp-game/game-camera.h
+++ b/examples/fpp-game/game-camera.h
@@ -81,7 +81,7 @@ private:
* @param[in] actor Actor receiving signal
* @param[in] touch Touch data
*/
- bool OnTouch( Dali::Actor actor, const Dali::TouchData& touch );
+ bool OnTouch( Dali::Actor actor, const Dali::TouchEvent& touch );
/**
* Handles camera tick() update
diff --git a/examples/gaussian-blur-view/gaussian-blur-view-example.cpp b/examples/gaussian-blur-view/gaussian-blur-view-example.cpp
index b3651d06..d93703da 100644
--- a/examples/gaussian-blur-view/gaussian-blur-view-example.cpp
+++ b/examples/gaussian-blur-view/gaussian-blur-view-example.cpp
@@ -113,7 +113,7 @@ private:
window.GetRootLayer().TouchSignal().Connect( this, &GaussianBlurViewExample::OnTouch );
}
- bool OnTouch( Actor actor, const TouchData& touch )
+ bool OnTouch( Actor actor, const TouchEvent& touch )
{
const PointState::Type state = touch.GetState( 0 );
diff --git a/examples/gestures/gesture-example.cpp b/examples/gestures/gesture-example.cpp
index a3a927df..fb5b4a71 100644
--- a/examples/gestures/gesture-example.cpp
+++ b/examples/gestures/gesture-example.cpp
@@ -221,7 +221,7 @@ private:
* @param[in] actor The touched actor
* @param[in] touch The touch event
*/
- bool OnTouch( Actor actor, const TouchData& touch )
+ bool OnTouch( Actor actor, const TouchEvent& touch )
{
switch( touch.GetState( 0 ) )
{
diff --git a/examples/hello-world/hello-world-example.cpp b/examples/hello-world/hello-world-example.cpp
index 22a13aba..8e190775 100644
--- a/examples/hello-world/hello-world-example.cpp
+++ b/examples/hello-world/hello-world-example.cpp
@@ -54,7 +54,7 @@ public:
window.KeyEventSignal().Connect( this, &HelloWorldController::OnKeyEvent );
}
- bool OnTouch( Actor actor, const TouchData& touch )
+ bool OnTouch( Actor actor, const TouchEvent& touch )
{
// quit the application
mApplication.Quit();
diff --git a/examples/homescreen-benchmark/homescreen-benchmark.cpp b/examples/homescreen-benchmark/homescreen-benchmark.cpp
index e47e5bee..cde8ee05 100644
--- a/examples/homescreen-benchmark/homescreen-benchmark.cpp
+++ b/examples/homescreen-benchmark/homescreen-benchmark.cpp
@@ -190,7 +190,7 @@ public:
window.KeyEventSignal().Connect( this, &HomescreenBenchmark::OnKeyEvent );
}
- bool OnTouch( Actor actor, const TouchData& touch )
+ bool OnTouch( Actor actor, const TouchEvent& touch )
{
// Quit the application.
mApplication.Quit();
diff --git a/examples/image-scaling-and-filtering/image-scaling-and-filtering-example.cpp b/examples/image-scaling-and-filtering/image-scaling-and-filtering-example.cpp
index c6f842e3..ea8290f7 100644
--- a/examples/image-scaling-and-filtering/image-scaling-and-filtering-example.cpp
+++ b/examples/image-scaling-and-filtering/image-scaling-and-filtering-example.cpp
@@ -495,7 +495,7 @@ public:
}
}
- bool OnControlTouched( Actor actor, const TouchData& event )
+ bool OnControlTouched( Actor actor, const TouchEvent& event )
{
if(event.GetPointCount() > 0)
{
diff --git a/examples/image-scaling-irregular-grid/image-scaling-irregular-grid-example.cpp b/examples/image-scaling-irregular-grid/image-scaling-irregular-grid-example.cpp
index cd6c8375..567c5698 100644
--- a/examples/image-scaling-irregular-grid/image-scaling-irregular-grid-example.cpp
+++ b/examples/image-scaling-irregular-grid/image-scaling-irregular-grid-example.cpp
@@ -502,7 +502,7 @@ public:
* @param[in] actor The actor touched
* @param[in] event The Touch information.
*/
- bool OnTouchImage( Actor actor, const TouchData& event )
+ bool OnTouchImage( Actor actor, const TouchEvent& event )
{
if( ( event.GetPointCount() > 0 ) && ( !mScrolling ) )
{
diff --git a/examples/magnifier/magnifier-example.cpp b/examples/magnifier/magnifier-example.cpp
index e1d7b6be..305485a3 100644
--- a/examples/magnifier/magnifier-example.cpp
+++ b/examples/magnifier/magnifier-example.cpp
@@ -298,7 +298,7 @@ public:
* @param[in] actor The actor that received the touch
* @param[in] event The touch-event information
*/
- bool OnTouched( Actor actor, const TouchData& event )
+ bool OnTouched( Actor actor, const TouchEvent& event )
{
if(event.GetPointCount() > 0)
{
diff --git a/examples/mesh-visual/mesh-visual-example.cpp b/examples/mesh-visual/mesh-visual-example.cpp
index 02fef7ea..9697649c 100644
--- a/examples/mesh-visual/mesh-visual-example.cpp
+++ b/examples/mesh-visual/mesh-visual-example.cpp
@@ -395,7 +395,7 @@ public:
//If the light source is touched, move it by dragging it.
//If a model is touched, rotate it by panning around.
- bool OnTouch( Actor actor, const TouchData& touch )
+ bool OnTouch( Actor actor, const TouchEvent& touch )
{
switch( touch.GetState( 0 ) )
{
diff --git a/examples/metaball-explosion/metaball-explosion-example.cpp b/examples/metaball-explosion/metaball-explosion-example.cpp
index 5601a00f..0eae70bc 100644
--- a/examples/metaball-explosion/metaball-explosion-example.cpp
+++ b/examples/metaball-explosion/metaball-explosion-example.cpp
@@ -204,7 +204,7 @@ public:
* Touch event handler to center metaballs at touch position
* and start explosion animation on release
*/
- bool OnTouch( Actor actor, const TouchData& touch );
+ bool OnTouch( Actor actor, const TouchEvent& touch );
/**
* Key event handler to quit application on escape or back key
@@ -629,7 +629,7 @@ void MetaballExplosionController::SetPositionToMetaballs( const Vector2& metabal
mCompositionActor.SetProperty( mPositionIndex, metaballCenter );
}
-bool MetaballExplosionController::OnTouch( Actor actor, const TouchData& touch )
+bool MetaballExplosionController::OnTouch( Actor actor, const TouchEvent& touch )
{
float aspectR = mScreenSize.y / mScreenSize.x;
diff --git a/examples/metaball-refrac/metaball-refrac-example.cpp b/examples/metaball-refrac/metaball-refrac-example.cpp
index 2184a7a1..e66ecdea 100644
--- a/examples/metaball-refrac/metaball-refrac-example.cpp
+++ b/examples/metaball-refrac/metaball-refrac-example.cpp
@@ -196,7 +196,7 @@ public:
/**
* Touch handler, start the grow animation and creates additional metaballs
*/
- bool OnTouch( Actor actor, const TouchData& touch );
+ bool OnTouch( Actor actor, const TouchEvent& touch );
/**
* Key event callback to quit the application on escape or back key
@@ -680,7 +680,7 @@ void MetaballRefracController::SetPositionToMetaballs( const Vector2& metaballCe
}
}
-bool MetaballRefracController::OnTouch( Actor actor, const TouchData& touch )
+bool MetaballRefracController::OnTouch( Actor actor, const TouchEvent& touch )
{
const float aspect = mScreenSize.y / mScreenSize.x;
switch( touch.GetState( 0 ) )
diff --git a/examples/perf-scroll/perf-scroll.cpp b/examples/perf-scroll/perf-scroll.cpp
index be98e668..35dca012 100644
--- a/examples/perf-scroll/perf-scroll.cpp
+++ b/examples/perf-scroll/perf-scroll.cpp
@@ -261,7 +261,7 @@ public:
ShowAnimation();
}
- bool OnTouch( Actor actor, const TouchData& touch )
+ bool OnTouch( Actor actor, const TouchEvent& touch )
{
// quit the application
mApplication.Quit();
diff --git a/examples/ray-marching/ray-marching-example.cpp b/examples/ray-marching/ray-marching-example.cpp
index 7ea54869..0660bec2 100644
--- a/examples/ray-marching/ray-marching-example.cpp
+++ b/examples/ray-marching/ray-marching-example.cpp
@@ -137,7 +137,7 @@ public:
AddContentLayer();
}
- bool OnTouch( Actor actor, const TouchData& touch )
+ bool OnTouch( Actor actor, const TouchEvent& touch )
{
// quit the application
mApplication.Quit();
diff --git a/examples/refraction-effect/refraction-effect-example.cpp b/examples/refraction-effect/refraction-effect-example.cpp
index e995e60e..804e784a 100644
--- a/examples/refraction-effect/refraction-effect-example.cpp
+++ b/examples/refraction-effect/refraction-effect-example.cpp
@@ -352,7 +352,7 @@ private:
return true;
}
- bool OnTouch( Actor actor, const TouchData& event )
+ bool OnTouch( Actor actor, const TouchEvent& event )
{
switch( event.GetState( 0 ) )
{
diff --git a/examples/remote-image-loading/remote-image-loading-example.cpp b/examples/remote-image-loading/remote-image-loading-example.cpp
index 5bf7e1fa..a58abf4d 100644
--- a/examples/remote-image-loading/remote-image-loading-example.cpp
+++ b/examples/remote-image-loading/remote-image-loading-example.cpp
@@ -144,7 +144,7 @@ public:
}
}
- void OnTouch(const TouchData &touch)
+ void OnTouch(const TouchEvent &touch)
{
if (touch.GetState(0) == PointState::DOWN)
{
@@ -165,7 +165,7 @@ public:
return false;
}
- bool OnControlTouch(Actor actor, const TouchData &touch)
+ bool OnControlTouch(Actor actor, const TouchEvent &touch)
{
if (touch.GetState(0) == PointState::DOWN)
{
diff --git a/examples/renderer-stencil/renderer-stencil-example.cpp b/examples/renderer-stencil/renderer-stencil-example.cpp
index 98685962..e9004dbb 100644
--- a/examples/renderer-stencil/renderer-stencil-example.cpp
+++ b/examples/renderer-stencil/renderer-stencil-example.cpp
@@ -718,7 +718,7 @@ private:
* @param[in] touch The touch information
* @return True if the event has been handled
*/
- bool OnTouch( Actor actor, const TouchData& touch )
+ bool OnTouch( Actor actor, const TouchEvent& touch )
{
// Quit the application.
mApplication.Quit();
diff --git a/examples/rendering-basic-light/rendering-basic-light-example.cpp b/examples/rendering-basic-light/rendering-basic-light-example.cpp
index f9b960b7..7d89a774 100644
--- a/examples/rendering-basic-light/rendering-basic-light-example.cpp
+++ b/examples/rendering-basic-light/rendering-basic-light-example.cpp
@@ -203,7 +203,7 @@ public:
/**
* This function will change the material of the cube when touched
*/
- bool OnTouch( Actor actor, const TouchData& touch )
+ bool OnTouch( Actor actor, const TouchEvent& touch )
{
if(touch.GetState(0) == PointState::UP)
{
diff --git a/examples/rendering-basic-pbr/rendering-basic-pbr-example.cpp b/examples/rendering-basic-pbr/rendering-basic-pbr-example.cpp
index c333bc3a..7d15eab1 100644
--- a/examples/rendering-basic-pbr/rendering-basic-pbr-example.cpp
+++ b/examples/rendering-basic-pbr/rendering-basic-pbr-example.cpp
@@ -145,7 +145,7 @@ public:
/**
* This function will change the material Roughness, Metalness or the model orientation when touched
*/
- bool OnTouch( Actor actor, const TouchData& touch )
+ bool OnTouch( Actor actor, const TouchEvent& touch )
{
const PointState::Type state = touch.GetState( 0 );
diff --git a/examples/rendering-cube/rendering-cube.cpp b/examples/rendering-cube/rendering-cube.cpp
index e7059ff6..9b4260f8 100644
--- a/examples/rendering-cube/rendering-cube.cpp
+++ b/examples/rendering-cube/rendering-cube.cpp
@@ -105,7 +105,7 @@ public:
window.KeyEventSignal().Connect( this, &DrawCubeController::OnKeyEvent );
}
- bool OnTouch( Actor actor, const TouchData& touch )
+ bool OnTouch( Actor actor, const TouchEvent& touch )
{
// quit the application
mApplication.Quit();
diff --git a/examples/rendering-line/rendering-line.cpp b/examples/rendering-line/rendering-line.cpp
index 2d6dbe33..1f421ade 100644
--- a/examples/rendering-line/rendering-line.cpp
+++ b/examples/rendering-line/rendering-line.cpp
@@ -98,7 +98,7 @@ public:
window.KeyEventSignal().Connect( this, &DrawLineController::OnKeyEvent );
}
- bool OnTouch( Actor actor, const TouchData& touch )
+ bool OnTouch( Actor actor, const TouchEvent& touch )
{
// quit the application
mApplication.Quit();
diff --git a/examples/rendering-radial-progress/radial-progress.cpp b/examples/rendering-radial-progress/radial-progress.cpp
index 2c7008bc..e3133ca5 100644
--- a/examples/rendering-radial-progress/radial-progress.cpp
+++ b/examples/rendering-radial-progress/radial-progress.cpp
@@ -155,7 +155,7 @@ public:
window.GetRootLayer().TouchSignal().Connect( this, &RadialProgressController::OnTouch );
}
- bool OnTouch( Actor actor, const TouchData& touch )
+ bool OnTouch( Actor actor, const TouchEvent& touch )
{
// quit the application
mApplication.Quit();
diff --git a/examples/rendering-skybox/look-camera.cpp b/examples/rendering-skybox/look-camera.cpp
index 1ef3194f..54f0c8a8 100644
--- a/examples/rendering-skybox/look-camera.cpp
+++ b/examples/rendering-skybox/look-camera.cpp
@@ -19,7 +19,7 @@
#include <dali/public-api/render-tasks/render-task-list.h>
#include <dali/public-api/render-tasks/render-task.h>
-#include <dali/public-api/events/touch-data.h>
+#include <dali/public-api/events/touch-event.h>
using namespace Dali;
@@ -147,7 +147,7 @@ void LookCamera::CreateInterceptorActor()
mInterceptorActor.TouchSignal().Connect( this, &LookCamera::OnTouch );
}
-bool LookCamera::OnTouch( Actor actor, const TouchData& touch )
+bool LookCamera::OnTouch( Actor actor, const TouchEvent& touch )
{
for( int i = 0; i < (int)touch.GetPointCount() && i < 3; ++i )
{
diff --git a/examples/rendering-skybox/look-camera.h b/examples/rendering-skybox/look-camera.h
index 4a0dc924..4ab6fee7 100644
--- a/examples/rendering-skybox/look-camera.h
+++ b/examples/rendering-skybox/look-camera.h
@@ -77,7 +77,7 @@ private:
* @param[in] actor Actor receiving signal
* @param[in] touch Touch data
*/
- bool OnTouch( Dali::Actor actor, const Dali::TouchData& touch );
+ bool OnTouch( Dali::Actor actor, const Dali::TouchEvent& touch );
/**
* Handles camera tick() update
diff --git a/examples/rendering-textured-cube/rendering-textured-cube.cpp b/examples/rendering-textured-cube/rendering-textured-cube.cpp
index cc20719d..be225674 100644
--- a/examples/rendering-textured-cube/rendering-textured-cube.cpp
+++ b/examples/rendering-textured-cube/rendering-textured-cube.cpp
@@ -111,7 +111,7 @@ public:
window.KeyEventSignal().Connect( this, &TexturedCubeController::OnKeyEvent );
}
- bool OnTouch( Actor actor, const TouchData& touch )
+ bool OnTouch( Actor actor, const TouchEvent& touch )
{
// quit the application
mApplication.Quit();
diff --git a/examples/rendering-triangle/rendering-triangle.cpp b/examples/rendering-triangle/rendering-triangle.cpp
index 58fedcb6..c69f323c 100644
--- a/examples/rendering-triangle/rendering-triangle.cpp
+++ b/examples/rendering-triangle/rendering-triangle.cpp
@@ -98,7 +98,7 @@ public:
window.KeyEventSignal().Connect( this, &DrawTriangleController::OnKeyEvent );
}
- bool OnTouch( Actor actor, const TouchData& touch )
+ bool OnTouch( Actor actor, const TouchEvent& touch )
{
// quit the application
mApplication.Quit();
diff --git a/examples/scroll-view/scroll-view-example.cpp b/examples/scroll-view/scroll-view-example.cpp
index ab7789ab..e9c65d02 100644
--- a/examples/scroll-view/scroll-view-example.cpp
+++ b/examples/scroll-view/scroll-view-example.cpp
@@ -499,7 +499,7 @@ private:
* @param[in] actor The actor touched
* @param[in] event The touch information.
*/
- bool OnTouchImage( Actor actor, const TouchData& event )
+ bool OnTouchImage( Actor actor, const TouchEvent& event )
{
if( (event.GetPointCount() > 0) && (!mScrolling) )
{
diff --git a/examples/text-field/text-field-example.cpp b/examples/text-field/text-field-example.cpp
index a401d778..e0e8cebe 100644
--- a/examples/text-field/text-field-example.cpp
+++ b/examples/text-field/text-field-example.cpp
@@ -151,7 +151,7 @@ public:
mField.Reset();
}
- bool OnPopupTouched( Actor actor, const TouchData& event )
+ bool OnPopupTouched( Actor actor, const TouchEvent& event )
{
// End edit mode for TextField if parent Popup touched.
if((event.GetPointCount() > 0) && (mPopup == event.GetHitActor(0)))
diff --git a/examples/text-label-emojis/text-label-emojis.cpp b/examples/text-label-emojis/text-label-emojis.cpp
index 3c96974d..6068e61b 100644
--- a/examples/text-label-emojis/text-label-emojis.cpp
+++ b/examples/text-label-emojis/text-label-emojis.cpp
@@ -83,7 +83,7 @@ public:
}
}
- bool OnTouch( Actor actor, const TouchData& event )
+ bool OnTouch( Actor actor, const TouchEvent& event )
{
if( 1u == event.GetPointCount() )
{
diff --git a/examples/text-label-multi-language/text-label-multi-language-example.cpp b/examples/text-label-multi-language/text-label-multi-language-example.cpp
index d55d2a7f..a1a9b8e5 100644
--- a/examples/text-label-multi-language/text-label-multi-language-example.cpp
+++ b/examples/text-label-multi-language/text-label-multi-language-example.cpp
@@ -85,7 +85,7 @@ public:
}
}
- bool OnTouch( Actor actor, const TouchData& event )
+ bool OnTouch( Actor actor, const TouchEvent& event )
{
if( 1u == event.GetPointCount() )
{
diff --git a/examples/tilt/tilt-example.cpp b/examples/tilt/tilt-example.cpp
index 06bf64e7..aaee512a 100644
--- a/examples/tilt/tilt-example.cpp
+++ b/examples/tilt/tilt-example.cpp
@@ -74,7 +74,7 @@ public:
}
}
- bool OnTouch( Actor actor, const TouchData& touch )
+ bool OnTouch( Actor actor, const TouchEvent& touch )
{
// quit the application
mApplication.Quit();
diff --git a/examples/visual-transitions/transition-application.cpp b/examples/visual-transitions/transition-application.cpp
index b721341f..70b330de 100644
--- a/examples/visual-transitions/transition-application.cpp
+++ b/examples/visual-transitions/transition-application.cpp
@@ -276,9 +276,9 @@ void TransitionApplication::CreateVisualMap( int index, Property::Map& map )
}
}
-bool TransitionApplication::OnVisualButtonClicked( Actor actor, const TouchData& touchData )
+bool TransitionApplication::OnVisualButtonClicked( Actor actor, const TouchEvent& touch )
{
- if( touchData.GetState(0) == PointState::FINISHED )
+ if( touch.GetState(0) == PointState::FINISHED )
{
int visual = actor.GetProperty<int>( mVisualIndex );
Property::Map map;
diff --git a/examples/visual-transitions/transition-application.h b/examples/visual-transitions/transition-application.h
index 9846c11d..6f6e722b 100644
--- a/examples/visual-transitions/transition-application.h
+++ b/examples/visual-transitions/transition-application.h
@@ -2,7 +2,7 @@
#define DALI_DEMO_TRANSITION_APPLICATION_H
/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -57,7 +57,7 @@ public:
void OnKeyEvent( const KeyEvent& event );
bool OnActionButtonClicked( Button button );
- bool OnVisualButtonClicked( Actor actor, const TouchData& touchData );
+ bool OnVisualButtonClicked( Actor actor, const TouchEvent& touch );
static const char* DEMO_THEME_ONE_PATH;
diff --git a/examples/web-view/web-view-example.cpp b/examples/web-view/web-view-example.cpp
index af668dc3..bd371dd1 100644
--- a/examples/web-view/web-view-example.cpp
+++ b/examples/web-view/web-view-example.cpp
@@ -100,7 +100,7 @@ public:
mAddressLabel.SetProperty( Toolkit::TextLabel::Property::TEXT, url.c_str() );
}
- bool OnTouchText( Actor actor, const TouchData& touch )
+ bool OnTouchText( Actor actor, const TouchEvent& touch )
{
if ( touch.GetState( 0 ) == PointState::UP )
{
diff --git a/shared/dali-table-view.cpp b/shared/dali-table-view.cpp
index 4d95f05b..869bc7b8 100644
--- a/shared/dali-table-view.cpp
+++ b/shared/dali-table-view.cpp
@@ -557,7 +557,7 @@ Actor DaliTableView::CreateTile( const std::string& name, const std::string& tit
return focusableTile;
}
-bool DaliTableView::OnTilePressed( Actor actor, const TouchData& event )
+bool DaliTableView::OnTilePressed( Actor actor, const TouchEvent& event )
{
return DoTilePress( actor, event.GetState( 0 ) );
}
@@ -644,7 +644,7 @@ void DaliTableView::OnScrollComplete( const Dali::Vector2& position )
accessibilityManager.SetCurrentFocusActor(mPages[mScrollView.GetCurrentPage()].GetChildAt(0) );
}
-bool DaliTableView::OnScrollTouched( Actor actor, const TouchData& event )
+bool DaliTableView::OnScrollTouched( Actor actor, const TouchEvent& event )
{
if( PointState::DOWN == event.GetState( 0 ) )
{
diff --git a/shared/dali-table-view.h b/shared/dali-table-view.h
index beb85dd0..aa94d389 100644
--- a/shared/dali-table-view.h
+++ b/shared/dali-table-view.h
@@ -2,7 +2,7 @@
#define DALI_DEMO_TABLEVIEW_H
/*
- * Copyright (c) 2019 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -150,7 +150,7 @@ private: // Application callbacks & implementation
*
* @return Consume flag
*/
- bool OnTilePressed( Dali::Actor actor, const Dali::TouchData& event );
+ bool OnTilePressed( Dali::Actor actor, const Dali::TouchEvent& event );
/**
* Called by OnTilePressed & Accessibility to do the appropriate action.
@@ -211,7 +211,7 @@ private: // Application callbacks & implementation
*
* @return Consume flag
*/
- bool OnScrollTouched( Dali::Actor actor, const Dali::TouchData& event );
+ bool OnScrollTouched( Dali::Actor actor, const Dali::TouchEvent& event );
/**
* Setup the effect on the scroll view