X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Fshadow-view%2Fshadow-view.cpp;h=c568fb89d511c1a74b557065fbe786bdae8b7ad8;hb=8a647e87a01c5c78451653c1264a9eea81ac9b20;hp=cb7ac5cb0149c148f13e8ca692046605e38086f4;hpb=c3f7ea6cb0c0b75c2276193aff88b5c7a679a2d5;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/controls/shadow-view/shadow-view.cpp b/dali-toolkit/devel-api/controls/shadow-view/shadow-view.cpp index cb7ac5c..c568fb8 100644 --- a/dali-toolkit/devel-api/controls/shadow-view/shadow-view.cpp +++ b/dali-toolkit/devel-api/controls/shadow-view/shadow-view.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,18 +23,15 @@ namespace { - -const float GAUSSIAN_BLUR_VIEW_DEFAULT_DOWNSAMPLE_WIDTH_SCALE = 1.0f; +const float GAUSSIAN_BLUR_VIEW_DEFAULT_DOWNSAMPLE_WIDTH_SCALE = 1.0f; const float GAUSSIAN_BLUR_VIEW_DEFAULT_DOWNSAMPLE_HEIGHT_SCALE = 1.0f; } // namespace namespace Dali { - namespace Toolkit { - ShadowView::ShadowView() { } @@ -44,13 +41,13 @@ ShadowView::~ShadowView() } ShadowView::ShadowView(const ShadowView& handle) - : Control( handle ) +: Control(handle) { } ShadowView& ShadowView::operator=(const ShadowView& rhs) { - if( &rhs != this ) + if(&rhs != this) { Control::operator=(rhs); } @@ -68,35 +65,25 @@ ShadowView ShadowView::New(float downsampleWidthScale, float downsampleHeightSca return Internal::ShadowView::New(downsampleWidthScale, downsampleHeightScale); } -ShadowView::ShadowView( Internal::ShadowView& implementation ) -: Control( implementation ) +ShadowView::ShadowView(Internal::ShadowView& implementation) +: Control(implementation) { } -ShadowView::ShadowView( Dali::Internal::CustomActor* internal ) -: Control( internal ) +ShadowView::ShadowView(Dali::Internal::CustomActor* internal) +: Control(internal) { VerifyCustomActorPointer(internal); } -ShadowView ShadowView::DownCast( BaseHandle handle ) +ShadowView ShadowView::DownCast(BaseHandle handle) { return Control::DownCast(handle); } -void ShadowView::Add(Actor child) -{ - GetImpl(*this).Add(child); -} - -void ShadowView::Remove(Actor child) -{ - GetImpl(*this).Remove(child); -} - -void ShadowView::SetShadowPlane(ImageActor shadowPlane) +void ShadowView::SetShadowPlaneBackground(Actor shadowPlaneBackground) { - GetImpl(*this).SetShadowPlane(shadowPlane); + GetImpl(*this).SetShadowPlaneBackground(shadowPlaneBackground); } void ShadowView::SetPointLight(Actor pointLight)