X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fvisuals%2Fvisual-base-data-impl.h;h=568af248e95d8a9fc57eeb835a1e2d7420115e5f;hp=64ab52f1e63a0f300dea94eb34fe183a45bf64be;hb=750fadba87bb959c9af32e89e3f1bc7af6cb6dd2;hpb=3de07b3d83f48fa5b08f24af1f7f721a4923eec9 diff --git a/dali-toolkit/internal/visuals/visual-base-data-impl.h b/dali-toolkit/internal/visuals/visual-base-data-impl.h index 64ab52f..568af24 100644 --- a/dali-toolkit/internal/visuals/visual-base-data-impl.h +++ b/dali-toolkit/internal/visuals/visual-base-data-impl.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_INTERNAL_VISUAL_BASE_DATA_IMPL_H /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd. + * Copyright (c) 2022 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. @@ -20,7 +20,7 @@ // EXTERNAL INCLUDES #include -#include +#include // INTERNAL INCLUDES #include @@ -96,9 +96,9 @@ struct Base::Impl void UpdatePropertyMap(const Property::Map& map); /** - * Register or set the uniform properties onto the renderer + * Set the uniform properties onto the renderer */ - void RegisterUniforms(Renderer renderer, Toolkit::Direction::Type direction); + void SetUniforms(VisualRenderer renderer, Toolkit::Direction::Type direction); /** * Convert the control size and the transform attributes into the actual @@ -112,11 +112,9 @@ struct Base::Impl Vector4 mOffsetSizeMode; Toolkit::Align::Type mOrigin; Toolkit::Align::Type mAnchorPoint; - Property::Index mOffsetIndex; - Property::Index mSizeIndex; }; - Renderer mRenderer; + VisualRenderer mRenderer; CustomShader* mCustomShader; EventObserver* mEventObserver; ///< Allows controls to observe when the visual has events to notify std::string mName; @@ -129,11 +127,6 @@ struct Base::Impl Vector4 mCornerRadius; float mCornerRadiusPolicy; int mDepthIndex; - Property::Index mMixColorIndex; - Property::Index mBorderlineWidthIndex; - Property::Index mBorderlineColorIndex; - Property::Index mBorderlineOffsetIndex; - Property::Index mCornerRadiusIndex; FittingMode mFittingMode; ///< How the contents should fit the view int mFlags; Toolkit::Visual::ResourceStatus mResourceStatus;