Merge remote-tracking branch 'origin/tizen' into new_text
[platform/core/uifw/dali-demo.git] / examples / shadow-bone-lighting / shadow-bone-lighting-example.cpp
@@ -16,7 +16,7 @@
  */
 
 // INTERNAL INCLUDES
-#include "../shared/view.h"
+#include "shared/view.h"
 
 #include <dali/dali.h>
 #include <dali-toolkit/dali-toolkit.h>
@@ -194,7 +194,7 @@ public:
     mPinchGestureDetector.Attach( mView );
     mPinchGestureDetector.DetectedSignal().Connect(this, &TestApp::OnPinch);
 
-    mTapGestureDetector = TapGestureDetector::New(1, 1);
+    mTapGestureDetector = TapGestureDetector::New();
     mTapGestureDetector.Attach( mView );
     mTapGestureDetector.DetectedSignal().Connect(this, &TestApp::OnTap);
   }
@@ -269,9 +269,9 @@ public:
 
     Property::Index angleIndex = mImageActor2.RegisterProperty("angle", Property::Value(30.0f));
     Source angleSrc( mImageActor2, angleIndex );
-    mImageActor1.ApplyConstraint(Constraint::New<Quaternion>( Actor::ROTATION, angleSrc,
+    mImageActor1.ApplyConstraint(Constraint::New<Quaternion>( Actor::Property::Rotation, angleSrc,
                                                               RotationConstraint(-1.0f)));
-    mImageActor3.ApplyConstraint(Constraint::New<Quaternion>( Actor::ROTATION, angleSrc,
+    mImageActor3.ApplyConstraint(Constraint::New<Quaternion>( Actor::Property::Rotation, angleSrc,
                                                               RotationConstraint(+1.0f)));
 
     mSceneAnimation = Animation::New(2.5f);