X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fvisuals%2Fvisual-base-data-impl.h;h=1b6afa3801c4dabd1b865aa903653c35a17f9418;hb=078278a2ea58db1f07114513bf21783eb689f63a;hp=3ce75aaa8bd9e1781ca083af2cb7b887d6b2e4d7;hpb=a0a28eb90260b017d231b0a2ff993825405fd058;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 3ce75aa..1b6afa3 100644 --- a/dali-toolkit/internal/visuals/visual-base-data-impl.h +++ b/dali-toolkit/internal/visuals/visual-base-data-impl.h @@ -24,7 +24,7 @@ // INTERNAL INCLUDES #include -#include +#include #include #include #include @@ -46,8 +46,9 @@ struct Base::Impl /** * Constructor * @param [in] fittingMode that the derived class prefers + * @param [in] type The type of the this visual */ - Impl(FittingMode fittingMode); + Impl( FittingMode fittingMode, Toolkit::Visual::Type type ); /** * Destructor @@ -111,6 +112,7 @@ struct Base::Impl Vector2 mOffset; Vector2 mSize; + Vector2 mExtraSize; Vector4 mOffsetSizeMode; Toolkit::Align::Type mOrigin; Toolkit::Align::Type mAnchorPoint; @@ -119,17 +121,19 @@ 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; + const Toolkit::Visual::Type mType; }; } // namespace Visual