X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=docs%2Fcontent%2Fprogramming-guide%2Fhello-world.h;h=d0cabd740ca26a9e13cdf96829a6eb6fd6b726d3;hp=780ad3eeae243f4e6fe063f07fdfb96013778619;hb=e4a3c7b18f3a6168ec3967d4881663f7ed54f8d5;hpb=27833bb592e5b8a271f12754dee5f1836becab51 diff --git a/docs/content/programming-guide/hello-world.h b/docs/content/programming-guide/hello-world.h index 780ad3e..d0cabd7 100644 --- a/docs/content/programming-guide/hello-world.h +++ b/docs/content/programming-guide/hello-world.h @@ -44,14 +44,14 @@ public: Stage stage = Stage::GetCurrent(); mTextLabel = TextLabel::New( "Hello World" ); - mTextLabel.SetAnchorPoint( AnchorPoint::TOP_LEFT ); + mTextLabel.SetProperty( Actor::Property::ANCHOR_POINT, AnchorPoint::TOP_LEFT ); stage.Add( mTextLabel ); // Respond to a click anywhere on the stage - stage.GetRootLayer().TouchSignal().Connect( this, &HelloWorldController::OnTouch ); + stage.GetRootLayer().TouchedSignal().Connect( this, &HelloWorldController::OnTouch ); } - bool OnTouch( Actor actor, const TouchData& touch ) + bool OnTouch( Actor actor, const TouchEvent& touch ) { // quit the application mApplication.Quit();