X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fvisuals%2Fvisual-base-data-impl.h;h=123a722235092930ac55b9217a8f4ed80e5ce809;hb=3ad20543558830da2b46ec83e3be4f8daf77add0;hp=79c099c9ed60ef4d5f362e0c37cd9b17d6a26ea2;hpb=2cdc15bcda53ce7feff32cd2358cc1f4d943cbfa;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/visuals/visual-base-data-impl.h b/dali-toolkit/internal/visuals/visual-base-data-impl.h index 79c099c..123a722 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) 2017 Samsung Electronics Co., Ltd. + * Copyright (c) 2018 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,8 +24,10 @@ // INTERNAL INCLUDES #include -#include +#include #include +#include +#include namespace Dali { @@ -43,8 +45,9 @@ struct Base::Impl { /** * Constructor + * @param [in] fittingMode that the derived class prefers */ - Impl(); + Impl(FittingMode fittingMode); /** * Destructor @@ -116,14 +119,16 @@ struct Base::Impl Renderer mRenderer; CustomShader* mCustomShader; SlotDelegate* mBlendSlotDelegate; ///< Used to own mix color animation connection - ResourceObserver* mResourceObserver; ///< Allows controls to observe when the visual resources are loaded and ready + EventObserver* mEventObserver; ///< Allows controls to observe when the visual has events to notify std::string mName; Transform mTransform; Vector4 mMixColor; Size mControlSize; + float mCornerRadius; int mDepthIndex; Property::Index mMixColorIndex; - Property::Index mOpacityIndex; + Property::Index mCornerRadiusIndex; + FittingMode mFittingMode; //< How the contents should fit the view int mFlags; Toolkit::Visual::ResourceStatus mResourceStatus; };