Changes after TouchedSignal changes
[platform/core/uifw/dali-demo.git] / examples / magnifier / magnifier-example.cpp
index b44c963..eadf675 100644 (file)
@@ -211,7 +211,7 @@ public:
                                        APPLICATION_TITLE );
 
     mContent.SetProperty( Actor::Property::LEAVE_REQUIRED,true);
-    mContent.TouchSignal().Connect( this, &ExampleController::OnTouched );
+    mContent.TouchedSignal().Connect( this, &ExampleController::OnTouched );
 
     // Create magnifier (controlled by human touch)
     Layer overlay = Layer::New();
@@ -233,7 +233,7 @@ public:
     constraint.AddSource( LocalSource(Actor::Property::PARENT_ORIGIN) );
     constraint.AddSource( LocalSource(Actor::Property::ANCHOR_POINT) );
     constraint.AddSource( ParentSource(Actor::Property::SIZE) );
-    constraint.SetRemoveAction(Constraint::Discard);
+    constraint.SetRemoveAction(Constraint::DISCARD);
     constraint.Apply();
 
     // Create bouncing magnifier automatically bounces around screen.