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=5afc638700389e131dac43c6a90d24908ba38d70;hpb=da9ae921ecd0ba30e7acb49fcb81a1864b61f404;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 5afc638..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,32 +65,22 @@ 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::SetShadowPlaneBackground(Actor shadowPlaneBackground) { GetImpl(*this).SetShadowPlaneBackground(shadowPlaneBackground);