X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Fshadow-view%2Fshadow-view.h;h=2df49780ba9772cbf721dde0ea5d4527d154b8ef;hp=9ddea7cd4b48f39de47d0f9dad778eadfb8458d2;hb=88b085f3b44c7c123c1119bb0326cc54aae1ddea;hpb=6f7631cee170290998ced6ea28f75c65ebb24f05 diff --git a/dali-toolkit/devel-api/controls/shadow-view/shadow-view.h b/dali-toolkit/devel-api/controls/shadow-view/shadow-view.h index 9ddea7c..2df4978 100644 --- a/dali-toolkit/devel-api/controls/shadow-view/shadow-view.h +++ b/dali-toolkit/devel-api/controls/shadow-view/shadow-view.h @@ -18,9 +18,6 @@ * */ -// EXTERNAL INCLUDES -#include - // INTERNAL INCLUDES #include @@ -69,17 +66,17 @@ class ShadowView; * * // create and add some visible actors to the ShadowView, all these child actors will therefore cast a shadow. * Image image = Image::New(...); - * ImageActor imageActor = ImageActor::New(image); - * imageActor.SetParentOrigin( ParentOrigin::CENTER ); - * imageActor.SetAnchorPoint( AnchorPoint::CENTER ); - * shadowView.Add(imageActor);\n Add the renderable actor to the shadow view - * - * ImageActor shadowPlane = ImageActor::New(); //This will be the shadow plane - * shadowPlane.SetParentOrigin( ParentOrigin::CENTER ); - * shadowPlane.SetAnchorPoint( AnchorPoint::CENTER ); - * shadowPlane.SetSize(700.0f, 700.0f); - * shadowPlane.SetPosition( Vector3(0.0f, 0.0f, -30.0f) ); //Just behind the image actor. - * shadowPlane.SetShadowPlane(ShadowPlane); + * ImageView imageView = ImageView::New(image); + * imageView.SetParentOrigin( ParentOrigin::CENTER ); + * imageView.SetAnchorPoint( AnchorPoint::CENTER ); + * shadowView.Add(imageView);\n Add the renderable actor to the shadow view + * + * ImageView shadowPlaneBg = ImageView::New(); //This will be the shadow plane + * shadowPlaneBg.SetParentOrigin( ParentOrigin::CENTER ); + * shadowPlaneBg.SetAnchorPoint( AnchorPoint::CENTER ); + * shadowPlaneBg.SetSize(700.0f, 700.0f); + * shadowPlaneBg.SetPosition( Vector3(0.0f, 0.0f, -30.0f) ); //Just behind the image actor. + * shadowView.SetShadowPlaneBackground(ShadowPlane); * * Actor pointLight = Actor::New(); // This will be the light source * pointLight.SetPosition(300.0f, 250.0f, 600.0f);