- Renderer mRenderer;
- CustomShader* mCustomShader;
- SlotDelegate<Visual::Base>* mBlendSlotDelegate; ///< Used to own mix color animation connection
- ResourceObserver* mResourceObserver; ///< Allows controls to observe when the visual resources are loaded and ready
- std::string mName;
- Transform mTransform;
- Vector4 mMixColor;
- Size mControlSize;
- float mDepthIndex;
- Property::Index mMixColorIndex;
- Property::Index mOpacityIndex;
- int mFlags;
- bool mResourceReady:1;
+ VisualRenderer mRenderer;
+ CustomShader* mCustomShader;
+ EventObserver* mEventObserver; ///< Allows controls to observe when the visual has events to notify
+ std::string mName;
+ Transform mTransform;
+ Vector4 mMixColor;
+ Size mControlSize;
+ float mBorderlineWidth;
+ Vector4 mBorderlineColor;
+ float mBorderlineOffset;
+ Vector4 mCornerRadius;
+ float mCornerRadiusPolicy;
+ int mDepthIndex;
+ 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;
+ const Toolkit::Visual::Type mType;
+ bool mAlwaysUsingBorderline : 1; ///< Whether we need the borderline in shader always.
+ bool mAlwaysUsingCornerRadius : 1; ///< Whether we need the corner radius in shader always.