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=a8214ea12bb3ef3ce0bf7a5d3cd46ff4303a863e;hpb=a68dbe03813fd3db34c81f4e6960572e8882930b;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 a8214ea..e5f6df1 100644 --- a/dali-toolkit/internal/visuals/color/color-visual.h +++ b/dali-toolkit/internal/visuals/color/color-visual.h @@ -53,9 +53,10 @@ 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 @@ -64,16 +65,6 @@ public: // from Visual */ 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,14 +94,6 @@ protected: */ virtual void OnSetTransform(); -public: - - /** - * Set the color for rendering. - * @param[in] color The color to be rendered. - */ - void SetColor( const Vector4& color ); - private: /** * @brief Initialize the renderer with the geometry and shader from the cache, if not available, create and save to the cache for sharing. @@ -124,12 +107,6 @@ private: // Undefined ColorVisual& operator=( const ColorVisual& colorRenderer ); - -private: - - Vector4 mMixColor; - Property::Index mMixColorIndex; - }; } // namespace Internal