X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=dali-toolkit%2Finternal%2Fvisuals%2Fvisual-base-data-impl.h;h=4adcc5a6e78b6b37d7bfa9ea7eb2ad01802c931d;hb=5a6809a40da6a50d2edce9202466aa289ad96162;hp=ca311e11e2e2f988f1fe1d6641e10af9f4c97b28;hpb=eaebf2e8aa5903e4acbb37ae46050e009863146c;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 ca311e1..4adcc5a 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 +#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,16 +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; int mDepthIndex; Property::Index mMixColorIndex; - Property::Index mOpacityIndex; + FittingMode mFittingMode; //< How the contents should fit the view int mFlags; - bool mResourceReady:1; + Toolkit::Visual::ResourceStatus mResourceStatus; }; } // namespace Visual