Merge "Ensure UserDefined Font family is not changed by system font changing." into...
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / controls / renderers / color / color-renderer.h
index 48c9778..cec5b3a 100644 (file)
@@ -76,9 +76,30 @@ public:  // from ControlRenderer
   virtual void SetOffset( const Vector2& offset );
 
   /**
-   * @copydoc ControlRenderer::SetOnStage
+   * @copydoc ControlRenderer::CreatePropertyMap
    */
-  virtual void SetOnStage( Actor& actor );
+  virtual void CreatePropertyMap( Property::Map& map ) const;
+
+protected:
+  /**
+   * @copydoc ControlRenderer::DoSetOnStage
+   */
+  virtual void DoSetOnStage( Actor& actor );
+
+public:
+
+  /**
+   * Request the geometry and shader from the cache, if not available, create and save to the cache for sharing.
+   *
+   * @param[in] factoryCache A pointer pointing to the RendererFactoryCache object
+   */
+  void Initialize( RendererFactoryCache& factoryCache );
+
+  /**
+   * Set the color for rendering.
+   * @param[in] color The color to be rendered.
+   */
+  void SetColor( const Vector4& color );
 
 private:
 
@@ -91,6 +112,7 @@ private:
 private:
 
   Vector4 mBlendColor;
+  Property::Index mBlendColorIndex;
 
 };