X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=docs%2Fcontent%2Fprogramming-guide%2Fhello-world.h;h=d0cabd740ca26a9e13cdf96829a6eb6fd6b726d3;hb=9110280c0e5a01128f3eb1e35f1587b9f596d95d;hp=c7b5dddaf5d90673794084ea4353ea3e3a843126;hpb=283c6129b00dfdbc1badbf809b4257784820bb30;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/docs/content/programming-guide/hello-world.h b/docs/content/programming-guide/hello-world.h index c7b5ddd..d0cabd7 100644 --- a/docs/content/programming-guide/hello-world.h +++ b/docs/content/programming-guide/hello-world.h @@ -1,6 +1,6 @@ /*! \page hello-world Hello World - explained -The following steps are required for displaying the sentence 'Hello World' with Dali: +The following steps are required for displaying the sentence 'Hello World' with DALi: - initialize the DALi library - create an Actor showing text @@ -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();