Merge "(Vector) Change event processing" into devel/master
[platform/core/uifw/dali-toolkit.git] / docs / content / programming-guide / hello-world.h
index 9c4383f..22878bc 100644 (file)
@@ -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,11 +44,11 @@ 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().TouchedSignal().Connect( this, &HelloWorldController::OnTouch );
+    stage.GetRootLayer().TouchSignal().Connect( this, &HelloWorldController::OnTouch );
   }
 
   bool OnTouch( Actor actor, const TouchEvent& touch )