X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fvisuals%2Fcolor%2Fcolor-visual.h;h=e5f6df146b65693718dd86615594e129df833d4f;hb=d6f1c901d74aef4e66ffb6565bb61de952a090a3;hp=cf2b0578c329332f7f8269106bcf8529bcbd6dd8;hpb=97d688bcdfb692dd2ff535c1965077dd747cfcf6;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/visuals/color/color-visual.h b/dali-toolkit/internal/visuals/color/color-visual.h index cf2b057..e5f6df1 100644 --- a/dali-toolkit/internal/visuals/color/color-visual.h +++ b/dali-toolkit/internal/visuals/color/color-visual.h @@ -53,32 +53,18 @@ public: * @brief Create a new color visual. * * @param[in] factoryCache A pointer pointing to the VisualFactoryCache object + * @param[in] properties A Property::Map containing settings for this visual * @return A smart-pointer to the newly allocated visual. */ - static ColorVisualPtr New( VisualFactoryCache& factoryCache ); + static ColorVisualPtr New( VisualFactoryCache& factoryCache, const Property::Map& properties ); public: // from Visual /** - * @copydoc Visual::Base::SetSize - */ - virtual void SetSize( const Vector2& size ); - - /** * @copydoc Visual::Base::CreatePropertyMap */ virtual void DoCreatePropertyMap( Property::Map& map ) const; - /** - * @copydoc Visual::Base::DoSetProperty - */ - virtual void DoSetProperty( Dali::Property::Index index, const Dali::Property::Value& propertyValue ); - - /** - * @copydoc Visual::Base::DoGetProperty - */ - virtual Dali::Property::Value DoGetProperty( Dali::Property::Index index ); - protected: /** @@ -103,13 +89,10 @@ protected: */ virtual void DoSetOnStage( Actor& actor ); -public: - /** - * Set the color for rendering. - * @param[in] color The color to be rendered. + * @copydoc Visual::Base::OnSetTransform */ - void SetColor( const Vector4& color ); + virtual void OnSetTransform(); private: /** @@ -124,12 +107,6 @@ private: // Undefined ColorVisual& operator=( const ColorVisual& colorRenderer ); - -private: - - Vector4 mMixColor; - Property::Index mMixColorIndex; - }; } // namespace Internal