Rename of Control Renderers to Visuals
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / controls / renderers / gradient / gradient-visual.h
@@ -19,7 +19,7 @@
  */
 
 // INTERNAL INCLUDES
-#include <dali-toolkit/internal/controls/renderers/control-renderer-impl.h>
+#include <dali-toolkit/internal/controls/renderers/visual-impl.h>
 #include <dali-toolkit/internal/controls/renderers/gradient/gradient.h>
 
 namespace Dali
@@ -66,7 +66,7 @@ class Gradient;
  * Valid values for spreadMethod are 'pad', 'repeat' and 'reflect.'
  * If not provided, 'objectBoundingBox' is used as default gradient units, and 'pad' is used as default spread method.
  */
-class GradientRenderer: public ControlRenderer
+class GradientVisual: public Visual
 {
 public:
 
@@ -82,45 +82,45 @@ public:
   /**
    * @brief Constructor.
    *
-   * @param[in] factoryCache A pointer pointing to the RendererFactoryCache object
+   * @param[in] factoryCache A pointer pointing to the VisualFactoryCache object
    */
-  GradientRenderer( RendererFactoryCache& factoryCache );
+  GradientVisual( VisualFactoryCache& factoryCache );
 
   /**
    * @brief A reference counted object may only be deleted by calling Unreference().
    */
-  ~GradientRenderer();
+  ~GradientVisual();
 
-public:  // from ControlRenderer
+public:  // from Visual
 
   /**
-   * @copydoc ControlRenderer::SetSize
+   * @copydoc Visual::SetSize
    */
   virtual void SetSize( const Vector2& size );
 
   /**
-   * @copydoc ControlRenderer::SetClipRect
+   * @copydoc Visual::SetClipRect
    */
   virtual void SetClipRect( const Rect<int>& clipRect );
 
   /**
-   * @copydoc ControlRenderer::SetOffset
+   * @copydoc Visual::SetOffset
    */
   virtual void SetOffset( const Vector2& offset );
 
   /**
-   * @copydoc ControlRenderer::CreatePropertyMap
+   * @copydoc Visual::CreatePropertyMap
    */
   virtual void DoCreatePropertyMap( Property::Map& map ) const;
 
 protected:
   /**
-   * @copydoc ControlRenderer::DoInitialize
+   * @copydoc Visual::DoInitialize
    */
   virtual void DoInitialize( Actor& actor, const Property::Map& propertyMap );
 
   /**
-   * @copydoc ControlRenderer::DoSetOnStage
+   * @copydoc Visual::DoSetOnStage
    */
   virtual void DoSetOnStage( Actor& actor );
 
@@ -148,10 +148,10 @@ private:
   static void GetStopOffsets(const Property::Value* value, Vector<float>& stopOffsets);
 
   // Undefined
-  GradientRenderer( const GradientRenderer& gradientRenderer );
+  GradientVisual( const GradientVisual& gradientRenderer );
 
   // Undefined
-  GradientRenderer& operator=( const GradientRenderer& gradientRenderer );
+  GradientVisual& operator=( const GradientVisual& gradientRenderer );
 
 private: