Revert "Changes after TouchData renamed to TouchEvent"
authorJoogab Yun <joogab.yun@samsung.com>
Wed, 19 Aug 2020 05:23:46 +0000 (14:23 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Wed, 19 Aug 2020 05:23:46 +0000 (14:23 +0900)
This reverts commit f00dca41f5430eea2ed3b00f0be2a010ceb3c664.

48 files changed:
examples/alpha-blending-cpu/alpha-blending-cpu-example.cpp
examples/animated-gradient-card-active/animated-gradient-card-active.cpp
examples/arc-visual/arc-visual-example.cpp
examples/benchmark/benchmark.cpp
examples/bezier-curve/bezier-curve-example.cpp
examples/blocks/blocks-example.cpp
examples/bubble-effect/bubble-effect-example.cpp
examples/clipping-draw-order/clipping-draw-order.cpp
examples/color-visual/color-visual-example.cpp
examples/compressed-texture-formats/compressed-texture-formats-example.cpp
examples/fpp-game/fpp-game-tutorial-controller.cpp
examples/fpp-game/fpp-game-tutorial-controller.h
examples/fpp-game/game-camera.cpp
examples/fpp-game/game-camera.h
examples/gaussian-blur-view/gaussian-blur-view-example.cpp
examples/gestures/gesture-example.cpp
examples/hello-world/hello-world-example.cpp
examples/homescreen-benchmark/homescreen-benchmark.cpp
examples/image-scaling-and-filtering/image-scaling-and-filtering-example.cpp
examples/image-scaling-irregular-grid/image-scaling-irregular-grid-example.cpp
examples/magnifier/magnifier-example.cpp
examples/mesh-visual/mesh-visual-example.cpp
examples/metaball-explosion/metaball-explosion-example.cpp
examples/metaball-refrac/metaball-refrac-example.cpp
examples/perf-scroll/perf-scroll.cpp
examples/ray-marching/ray-marching-example.cpp
examples/refraction-effect/refraction-effect-example.cpp
examples/remote-image-loading/remote-image-loading-example.cpp
examples/renderer-stencil/renderer-stencil-example.cpp
examples/rendering-basic-light/rendering-basic-light-example.cpp
examples/rendering-basic-pbr/rendering-basic-pbr-example.cpp
examples/rendering-cube/rendering-cube.cpp
examples/rendering-line/rendering-line.cpp
examples/rendering-radial-progress/radial-progress.cpp
examples/rendering-skybox/look-camera.cpp
examples/rendering-skybox/look-camera.h
examples/rendering-textured-cube/rendering-textured-cube.cpp
examples/rendering-triangle/rendering-triangle.cpp
examples/scroll-view/scroll-view-example.cpp
examples/text-field/text-field-example.cpp
examples/text-label-emojis/text-label-emojis.cpp
examples/text-label-multi-language/text-label-multi-language-example.cpp
examples/tilt/tilt-example.cpp
examples/visual-transitions/transition-application.cpp
examples/visual-transitions/transition-application.h
examples/web-view/web-view-example.cpp
shared/dali-table-view.cpp
shared/dali-table-view.h

index 6ed10ed..4a80e59 100644 (file)
@@ -83,15 +83,15 @@ private:
     window.TouchSignal().Connect( this, &ImageViewAlphaBlendApp::OnTouched );
   }
 
-  void OnTouched( const TouchEvent& touch )
+  void OnTouched( const TouchData& touchData )
   {
     static bool touched = false;
-    if( touch.GetState( 0 ) == PointState::DOWN )
+    if( touchData.GetState( 0 ) == PointState::DOWN )
     {
       touched = true;
     }
 
-    if( touch.GetState( 0 ) == PointState::UP && touched )
+    if( touchData.GetState( 0 ) == PointState::UP && touched)
     {
       mImageCombinationIndex++;
       touched = false;
index 9861aa4..7ec7d9f 100644 (file)
@@ -312,7 +312,7 @@ public:
     Reset();
   }
 
-  bool OnTouchCards(Actor actor, const TouchEvent &data)
+  bool OnTouchCards(Actor actor, const TouchData &data)
   {
     if( data.GetPointCount() > 0 )
     {
@@ -347,7 +347,7 @@ public:
     return true;
   }
 
-  bool OnTouchLayer(Actor actor, const TouchEvent &data)
+  bool OnTouchLayer(Actor actor, const TouchData &data)
   {
     if( data.GetPointCount() > 0 )
     {
index 88e4253..3131981 100644 (file)
@@ -171,7 +171,7 @@ private:
     window.KeyEventSignal().Connect( this, &ArcVisualExample::OnKeyEvent );
   }
 
-  bool OnButtonTouch( Actor actor, const TouchEvent& touch )
+  bool OnButtonTouch( Actor actor, const TouchData& touch )
   {
     if( touch.GetState( 0 ) == PointState::UP )
     {
@@ -212,7 +212,7 @@ private:
     return true;
   }
 
-  bool OnTouch( Actor actor, const TouchEvent& touch )
+  bool OnTouch( Actor actor, const TouchData& touch )
   {
     if( touch.GetState( 0 ) == PointState::UP )
     {
index 7a12692..e8755a5 100644 (file)
@@ -256,7 +256,7 @@ public:
     ShowAnimation();
   }
 
-  bool OnTouch( Actor actor, const TouchEvent& touch )
+  bool OnTouch( Actor actor, const TouchData& touch )
   {
     // quit the application
     mApplication.Quit();
index 677152e..38405af 100644 (file)
@@ -492,7 +492,7 @@ public:
     }
   }
 
-  bool OnTouchControlPoint( Actor controlPoint, const TouchEvent& event )
+  bool OnTouchControlPoint( Actor controlPoint, const TouchData& 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 TouchEvent& event )
+  bool OnTouchLayer( Actor actor, const TouchData& event )
   {
     if( event.GetPointCount() > 0 )
     {
index 300f057..66c9916 100644 (file)
@@ -615,7 +615,7 @@ private:
    * @param[in] actor The actor touched
    * @param[in] event The touch event
    */
-  bool OnTouchPaddle(Actor actor, const TouchEvent& event)
+  bool OnTouchPaddle(Actor actor, const TouchData& 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 TouchEvent& event)
+  bool OnTouchLayer(Actor actor, const TouchData& event)
   {
     if(event.GetPointCount()>0)
     {
index 58c7888..ad6b774 100644 (file)
@@ -202,7 +202,7 @@ private:
   }
 
   // Callback function of the touch signal on the background
-  bool OnTouch(Dali::Actor actor, const Dali::TouchEvent& event)
+  bool OnTouch(Dali::Actor actor, const Dali::TouchData& event)
   {
     switch( event.GetState( 0 ) )
     {
index 363ef09..c8a5775 100644 (file)
@@ -201,7 +201,7 @@ public:
     window.GetRootLayer().TouchSignal().Connect( this, &ClippingDrawOrderVerification::OnTouch );
   }
 
-  bool OnTouch( Actor actor, const TouchEvent& touch )
+  bool OnTouch( Actor actor, const TouchData& touch )
   {
     // Quit the application.
     mApplication.Quit();
index 27c85d2..d96e586 100644 (file)
@@ -86,7 +86,7 @@ public:
     window.KeyEventSignal().Connect( this, &ColorVisualExample::OnKeyEvent );
   }
 
-  bool OnTouch( Actor actor, const TouchEvent& touch )
+  bool OnTouch( Actor actor, const TouchData& touch )
   {
     if( touch.GetState( 0 ) == PointState::UP )
     {
index 912d6f4..ec957ce 100644 (file)
@@ -181,7 +181,7 @@ public:
     window.KeyEventSignal().Connect(this, &CompressedTextureFormatsController::OnKeyEvent);
   }
 
-  bool OnTouch( Actor actor, const TouchEvent& touch )
+  bool OnTouch( Actor actor, const TouchData& touch )
   {
     // quit the application
     mApplication.Quit();
index 7ee29f1..ef20090 100644 (file)
@@ -17,7 +17,7 @@
 
 #include "fpp-game-tutorial-controller.h"
 
-#include <dali/public-api/events/touch-event.h>
+#include <dali/public-api/events/touch-data.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 TouchEvent& touchEvent )
+void FppGameTutorialController::OnTouch( const TouchData& touchEvent )
 {
   Vector2 size( mWindow.GetSize() );
 
index cc09dae..cafdeb6 100644 (file)
@@ -48,7 +48,7 @@ public:
    * Handles tutorial touch input
    * @param[in] touchEvent Incoming touch event in the UI space
    */
-  void OnTouch( const Dali::TouchEvent& touchEvent );
+  void OnTouch( const Dali::TouchData& touchEvent );
 
   /**
    * Handles tutorial animation finished signal
index 2d33dc6..975dafa 100644 (file)
@@ -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-event.h>
+#include <dali/public-api/events/touch-data.h>
 
 using namespace Dali;
 
@@ -204,7 +204,7 @@ void GameCamera::CreateInterceptorActor()
   mInterceptorActor.TouchSignal().Connect( this, &GameCamera::OnTouch );
 }
 
-bool GameCamera::OnTouch( Actor actor, const TouchEvent& touch )
+bool GameCamera::OnTouch( Actor actor, const TouchData& touch )
 {
   for( int i = 0; i < (int)touch.GetPointCount() && i < 3; ++i )
   {
index 879af85..edbfdc8 100644 (file)
@@ -81,7 +81,7 @@ private:
    * @param[in] actor Actor receiving signal
    * @param[in] touch Touch data
    */
-  bool OnTouch( Dali::Actor actor, const Dali::TouchEvent& touch );
+  bool OnTouch( Dali::Actor actor, const Dali::TouchData& touch );
 
   /**
    * Handles camera tick() update
index d93703d..b3651d0 100644 (file)
@@ -113,7 +113,7 @@ private:
     window.GetRootLayer().TouchSignal().Connect( this, &GaussianBlurViewExample::OnTouch );
   }
 
-  bool OnTouch( Actor actor, const TouchEvent& touch )
+  bool OnTouch( Actor actor, const TouchData& touch )
   {
     const PointState::Type state = touch.GetState( 0 );
 
index 0bbeba1..c76496b 100644 (file)
@@ -221,7 +221,7 @@ private:
    * @param[in]  actor  The touched actor
    * @param[in]  touch  The touch event
    */
-  bool OnTouch( Actor actor, const TouchEvent& touch )
+  bool OnTouch( Actor actor, const TouchData& touch )
   {
     switch( touch.GetState( 0 ) )
     {
index 8e19077..22a13ab 100644 (file)
@@ -54,7 +54,7 @@ public:
     window.KeyEventSignal().Connect( this, &HelloWorldController::OnKeyEvent );
   }
 
-  bool OnTouch( Actor actor, const TouchEvent& touch )
+  bool OnTouch( Actor actor, const TouchData& touch )
   {
     // quit the application
     mApplication.Quit();
index cde8ee0..e47e5be 100644 (file)
@@ -190,7 +190,7 @@ public:
     window.KeyEventSignal().Connect( this, &HomescreenBenchmark::OnKeyEvent );
   }
 
-  bool OnTouch( Actor actor, const TouchEvent& touch )
+  bool OnTouch( Actor actor, const TouchData& touch )
   {
     // Quit the application.
     mApplication.Quit();
index ea8290f..c6f842e 100644 (file)
@@ -495,7 +495,7 @@ public:
     }
   }
 
-  bool OnControlTouched( Actor actor, const TouchEvent& event )
+  bool OnControlTouched( Actor actor, const TouchData& event )
   {
     if(event.GetPointCount() > 0)
     {
index 567c569..cd6c837 100644 (file)
@@ -502,7 +502,7 @@ public:
   * @param[in] actor The actor touched
   * @param[in] event The Touch information.
   */
-  bool OnTouchImage( Actor actor, const TouchEvent& event )
+  bool OnTouchImage( Actor actor, const TouchData& event )
   {
     if( ( event.GetPointCount() > 0 ) && ( !mScrolling ) )
     {
index 305485a..e1d7b6b 100644 (file)
@@ -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 TouchEvent& event )
+  bool OnTouched( Actor actor, const TouchData& event )
   {
     if(event.GetPointCount() > 0)
     {
index 9697649..02fef7e 100644 (file)
@@ -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 TouchEvent& touch )
+  bool OnTouch( Actor actor, const TouchData& touch )
   {
     switch( touch.GetState( 0 ) )
     {
index 0eae70b..5601a00 100644 (file)
@@ -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 TouchEvent& touch );
+  bool OnTouch( Actor actor, const TouchData& 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 TouchEvent& touch )
+bool MetaballExplosionController::OnTouch( Actor actor, const TouchData& touch )
 {
   float aspectR = mScreenSize.y / mScreenSize.x;
 
index e66ecde..2184a7a 100644 (file)
@@ -196,7 +196,7 @@ public:
   /**
    * Touch handler, start the grow animation and creates additional metaballs
    */
-  bool OnTouch( Actor actor, const TouchEvent& touch );
+  bool OnTouch( Actor actor, const TouchData& 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 TouchEvent& touch )
+bool MetaballRefracController::OnTouch( Actor actor, const TouchData& touch )
 {
   const float aspect = mScreenSize.y / mScreenSize.x;
   switch( touch.GetState( 0 ) )
index 35dca01..be98e66 100644 (file)
@@ -261,7 +261,7 @@ public:
     ShowAnimation();
   }
 
-  bool OnTouch( Actor actor, const TouchEvent& touch )
+  bool OnTouch( Actor actor, const TouchData& touch )
   {
     // quit the application
     mApplication.Quit();
index 0660bec..7ea5486 100644 (file)
@@ -137,7 +137,7 @@ public:
     AddContentLayer();
 
   }
-  bool OnTouch( Actor actor, const TouchEvent& touch )
+  bool OnTouch( Actor actor, const TouchData& touch )
   {
     // quit the application
     mApplication.Quit();
index 804e784..e995e60 100644 (file)
@@ -352,7 +352,7 @@ private:
     return true;
   }
 
-  bool OnTouch( Actor actor, const TouchEvent& event )
+  bool OnTouch( Actor actor, const TouchData& event )
   {
     switch( event.GetState( 0 ) )
     {
index a58abf4..5bf7e1f 100644 (file)
@@ -144,7 +144,7 @@ public:
     }
   }
 
-  void OnTouch(const TouchEvent &touch)
+  void OnTouch(const TouchData &touch)
   {
     if (touch.GetState(0) == PointState::DOWN)
     {
@@ -165,7 +165,7 @@ public:
     return false;
   }
 
-  bool OnControlTouch(Actor actor, const TouchEvent &touch)
+  bool OnControlTouch(Actor actor, const TouchData &touch)
   {
     if (touch.GetState(0) == PointState::DOWN)
     {
index e9004db..9868596 100644 (file)
@@ -718,7 +718,7 @@ private:
    * @param[in] touch The touch information
    * @return True if the event has been handled
    */
-  bool OnTouch( Actor actor, const TouchEvent& touch )
+  bool OnTouch( Actor actor, const TouchData& touch )
   {
     // Quit the application.
     mApplication.Quit();
index 7d89a77..f9b960b 100644 (file)
@@ -203,7 +203,7 @@ public:
   /**
    * This function will change the material of the cube when touched
    */
-  bool OnTouch( Actor actor, const TouchEvent& touch )
+  bool OnTouch( Actor actor, const TouchData& touch )
   {
     if(touch.GetState(0) == PointState::UP)
     {
index 7d15eab..c333bc3 100644 (file)
@@ -145,7 +145,7 @@ public:
   /**
    * This function will change the material Roughness, Metalness or the model orientation when touched
    */
-  bool OnTouch( Actor actor, const TouchEvent& touch )
+  bool OnTouch( Actor actor, const TouchData& touch )
   {
     const PointState::Type state = touch.GetState( 0 );
 
index 9b4260f..e7059ff 100644 (file)
@@ -105,7 +105,7 @@ public:
     window.KeyEventSignal().Connect( this, &DrawCubeController::OnKeyEvent );
   }
 
-  bool OnTouch( Actor actor, const TouchEvent& touch )
+  bool OnTouch( Actor actor, const TouchData& touch )
   {
     // quit the application
     mApplication.Quit();
index 1f421ad..2d6dbe3 100644 (file)
@@ -98,7 +98,7 @@ public:
     window.KeyEventSignal().Connect( this, &DrawLineController::OnKeyEvent );
   }
 
-  bool OnTouch( Actor actor, const TouchEvent& touch )
+  bool OnTouch( Actor actor, const TouchData& touch )
   {
     // quit the application
     mApplication.Quit();
index e3133ca..2c7008b 100644 (file)
@@ -155,7 +155,7 @@ public:
     window.GetRootLayer().TouchSignal().Connect( this, &RadialProgressController::OnTouch );
   }
 
-  bool OnTouch( Actor actor, const TouchEvent& touch )
+  bool OnTouch( Actor actor, const TouchData& touch )
   {
     // quit the application
     mApplication.Quit();
index 54f0c8a..1ef3194 100644 (file)
@@ -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-event.h>
+#include <dali/public-api/events/touch-data.h>
 
 using namespace Dali;
 
@@ -147,7 +147,7 @@ void LookCamera::CreateInterceptorActor()
   mInterceptorActor.TouchSignal().Connect( this, &LookCamera::OnTouch );
 }
 
-bool LookCamera::OnTouch( Actor actor, const TouchEvent& touch )
+bool LookCamera::OnTouch( Actor actor, const TouchData& touch )
 {
   for( int i = 0; i < (int)touch.GetPointCount() && i < 3; ++i )
   {
index 4ab6fee..4a0dc92 100644 (file)
@@ -77,7 +77,7 @@ private:
    * @param[in] actor Actor receiving signal
    * @param[in] touch Touch data
    */
-  bool OnTouch( Dali::Actor actor, const Dali::TouchEvent& touch );
+  bool OnTouch( Dali::Actor actor, const Dali::TouchData& touch );
 
   /**
    * Handles camera tick() update
index be22567..cc20719 100644 (file)
@@ -111,7 +111,7 @@ public:
     window.KeyEventSignal().Connect( this, &TexturedCubeController::OnKeyEvent );
   }
 
-  bool OnTouch( Actor actor, const TouchEvent& touch )
+  bool OnTouch( Actor actor, const TouchData& touch )
   {
     // quit the application
     mApplication.Quit();
index c69f323..58fedcb 100644 (file)
@@ -98,7 +98,7 @@ public:
     window.KeyEventSignal().Connect( this, &DrawTriangleController::OnKeyEvent );
   }
 
-  bool OnTouch( Actor actor, const TouchEvent& touch )
+  bool OnTouch( Actor actor, const TouchData& touch )
   {
     // quit the application
     mApplication.Quit();
index e9c65d0..ab7789a 100644 (file)
@@ -499,7 +499,7 @@ private:
    * @param[in] actor The actor touched
    * @param[in] event The touch information.
    */
-  bool OnTouchImage( Actor actor, const TouchEvent& event )
+  bool OnTouchImage( Actor actor, const TouchData& event )
   {
     if( (event.GetPointCount() > 0) && (!mScrolling) )
     {
index 8e9614e..b2478b3 100644 (file)
@@ -151,7 +151,7 @@ public:
     mField.Reset();
   }
 
-  bool OnPopupTouched( Actor actor, const TouchEvent& event )
+  bool OnPopupTouched( Actor actor, const TouchData& event )
   {
     // End edit mode for TextField if parent Popup touched.
     if(event.GetPointCount() > 0)
index 6068e61..3c96974 100644 (file)
@@ -83,7 +83,7 @@ public:
     }
   }
 
-  bool OnTouch( Actor actor, const TouchEvent& event )
+  bool OnTouch( Actor actor, const TouchData& event )
   {
     if( 1u == event.GetPointCount() )
     {
index a1a9b8e..d55d2a7 100644 (file)
@@ -85,7 +85,7 @@ public:
     }
   }
 
-  bool OnTouch( Actor actor, const TouchEvent& event )
+  bool OnTouch( Actor actor, const TouchData& event )
   {
     if( 1u == event.GetPointCount() )
     {
index aaee512..06bf64e 100644 (file)
@@ -74,7 +74,7 @@ public:
     }
   }
 
-  bool OnTouch( Actor actor, const TouchEvent& touch )
+  bool OnTouch( Actor actor, const TouchData& touch )
   {
     // quit the application
     mApplication.Quit();
index 70b330d..b721341 100644 (file)
@@ -276,9 +276,9 @@ void TransitionApplication::CreateVisualMap( int index, Property::Map& map )
   }
 }
 
-bool TransitionApplication::OnVisualButtonClicked( Actor actor, const TouchEvent& touch )
+bool TransitionApplication::OnVisualButtonClicked( Actor actor, const TouchData& touchData )
 {
-  if( touch.GetState(0) == PointState::FINISHED )
+  if( touchData.GetState(0) == PointState::FINISHED )
   {
     int visual = actor.GetProperty<int>( mVisualIndex );
     Property::Map map;
index 6f6e722..9846c11 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_DEMO_TRANSITION_APPLICATION_H
 
 /*
- * Copyright (c) 2020 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2016 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 TouchEvent& touch );
+  bool OnVisualButtonClicked( Actor actor, const TouchData& touchData );
 
   static const char* DEMO_THEME_ONE_PATH;
 
index bd371dd..af668dc 100644 (file)
@@ -100,7 +100,7 @@ public:
     mAddressLabel.SetProperty( Toolkit::TextLabel::Property::TEXT, url.c_str() );
   }
 
-  bool OnTouchText( Actor actor, const TouchEvent& touch )
+  bool OnTouchText( Actor actor, const TouchData& touch )
   {
     if ( touch.GetState( 0 ) == PointState::UP )
     {
index 869bc7b..4d95f05 100644 (file)
@@ -557,7 +557,7 @@ Actor DaliTableView::CreateTile( const std::string& name, const std::string& tit
   return focusableTile;
 }
 
-bool DaliTableView::OnTilePressed( Actor actor, const TouchEvent& event )
+bool DaliTableView::OnTilePressed( Actor actor, const TouchData& 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 TouchEvent& event )
+bool DaliTableView::OnScrollTouched( Actor actor, const TouchData& event )
 {
   if( PointState::DOWN == event.GetState( 0 ) )
   {
index aa94d38..beb85dd 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_DEMO_TABLEVIEW_H
 
 /*
- * Copyright (c) 2020 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 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::TouchEvent& event );
+  bool OnTilePressed( Dali::Actor actor, const Dali::TouchData& 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::TouchEvent& event );
+  bool OnScrollTouched( Dali::Actor actor, const Dali::TouchData& event );
 
   /**
    * Setup the effect on the scroll view