Revert "Changes after TouchData renamed to TouchEvent"
[platform/core/uifw/dali-demo.git] / examples / alpha-blending-cpu / alpha-blending-cpu-example.cpp
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;