Changes after TouchData renamed to TouchEvent
[platform/core/uifw/dali-toolkit.git] / docs / content / programming-guide / programming-languages.md
index a17705c..4b1f327 100644 (file)
@@ -13,7 +13,7 @@ actor.SetParentOrigin( Dali::ParentOrigin::CENTER );
 actor.SetProperty( Dali::Actor::Property::ANCHOR_POINT, Dali::AnchorPoint::CENTER );
 Dali::Stage::GetCurrent().Add( actor );
 ...
-bool OnPressed( Dali::Actor, const TouchData& touch )
+bool OnPressed( Dali::Actor, const TouchEvent& touch )
 {
   Dali::Animation anim = Dali::Animation::New( 1.5f );
   anim.AnimateTo( Property( actor, Actor::Property::POSITION ), Vector3( 200, -100, 0 ), AlphaFunctions::Bounce );