X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=examples%2Fmagnifier%2Fmagnifier-example.cpp;h=eadf675b551c9ee59523d8f2dad19138804dbd42;hb=1a473d5189ca7e7d55aca3a64a8a4ff2dc3b6c67;hp=b44c963e45e09610165a5f17edaebc67eac714e7;hpb=e3080a83ec85e14ec8cbf82831fd73b152c6e86a;p=platform%2Fcore%2Fuifw%2Fdali-demo.git diff --git a/examples/magnifier/magnifier-example.cpp b/examples/magnifier/magnifier-example.cpp index b44c963..eadf675 100644 --- a/examples/magnifier/magnifier-example.cpp +++ b/examples/magnifier/magnifier-example.cpp @@ -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.