X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fshadow-view%2Fshadow-view-impl.h;h=bd0b37600999b8c08554aceec1a4c752fa9ba86f;hp=68e1c3317be70b4da93a5ffefc416918f04dfbc8;hb=b694e7e2ae624e206e1548b1a863c554eb9cd4d7;hpb=2da985674b8a2344bc07ea3cf02f05d86d512249 diff --git a/dali-toolkit/internal/controls/shadow-view/shadow-view-impl.h b/dali-toolkit/internal/controls/shadow-view/shadow-view-impl.h index 68e1c33..bd0b376 100644 --- a/dali-toolkit/internal/controls/shadow-view/shadow-view-impl.h +++ b/dali-toolkit/internal/controls/shadow-view/shadow-view-impl.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_INTERNAL_SHADOW_VIEW_H__ -#define __DALI_TOOLKIT_INTERNAL_SHADOW_VIEW_H__ +#ifndef DALI_TOOLKIT_INTERNAL_SHADOW_VIEW_H +#define DALI_TOOLKIT_INTERNAL_SHADOW_VIEW_H /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2019 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. @@ -24,7 +24,6 @@ #include #include #include -#include #include // INTERNAL INCLUDES @@ -72,16 +71,6 @@ public: static Dali::Toolkit::ShadowView New(float downsampleWidthScale, float downsampleHeightScale); /** - * @copydoc Dali::Toolkit::ShadowView::Add(Actor child) - */ - void Add(Actor child); - - /** - * @copydoc Dali::Toolkit::ShadowView::Remove(Actor child) - */ - void Remove(Actor child); - - /** * @copydoc Dali::Toolkit::ShadowView::SetShadowPlaneBackground(Actor shadowPlaneBackground) */ void SetShadowPlaneBackground(Actor shadowPlaneBackground); @@ -126,7 +115,16 @@ public: private: virtual void OnInitialize(); - virtual void OnSizeSet(const Vector3& targetSize); + + /** + * @copydoc Control::OnChildAdd() + */ + virtual void OnChildAdd( Actor& child ); + + /** + * @copydoc Control::OnChildRemove() + */ + virtual void OnChildRemove( Actor& child ); /** * Constrain the camera actor to the position of the point light, pointing @@ -154,7 +152,7 @@ private: CameraActor mCameraActor; // Constrained to same position as mPointLight and pointing at mShadowPlane - Property::Map mShadowRenderShader; + Property::Map mShadowVisualMap; BlurTwoPassFilter mBlurFilter; Vector4 mCachedShadowColor; ///< Cached Shadow color. @@ -199,4 +197,4 @@ inline const Toolkit::Internal::ShadowView& GetImpl( const Toolkit::ShadowView& } // namespace Dali -#endif // __DALI_TOOLKIT_INTERNAL_SHADOW_VIEW_H__ +#endif // DALI_TOOLKIT_INTERNAL_SHADOW_VIEW_H