Rename of Control Renderers to Visuals
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / devel-api / controls / visual-factory / visual.h
@@ -29,38 +29,38 @@ namespace Toolkit
 
 namespace Internal DALI_INTERNAL
 {
-class ControlRenderer;
+class Visual;
 }
 
 /**
- * @brief ControlRenderer provides renderer for rendering the controls. A control may have multiple ControlRenders.
+ * @brief Visual provides renderer for rendering the controls. A control may have multiple ControlRenders.
  *
- * ControlRenderers reuses geometry, shader etc. across controls and manages the renderer and texture sets to exist only when control is on-stage.
+ * Visuals reuses geometry, shader etc. across controls and manages the renderer and texture sets to exist only when control is on-stage.
  * It also responds to actor size and color change, and provides the clipping at the renderer level.
  * Note: The control renderer responds to the the Actor::COLOR by blending it with the 'Multiply' operator.
  */
-class DALI_IMPORT_API ControlRenderer : public BaseHandle
+class DALI_IMPORT_API Visual : public BaseHandle
 {
 public:
 
   /**
-   * @brief Create an empty ControlRenderer Handle
+   * @brief Create an empty Visual Handle
    */
-  ControlRenderer();
+  Visual();
 
   /**
    * @brief Destructor
    *
    * This is non-virtual since derived Handle types must not contain data or virtual methods.
    */
-  ~ControlRenderer();
+  ~Visual();
 
   /**
    * @brief This copy constructor is required for (smart) pointer semantics.
    *
    * @param[in] handle A reference to the copied handle.
    */
-  ControlRenderer( const ControlRenderer& handle );
+  Visual( const Visual& handle );
 
   /**
    * @brief This assignment operator is required for (smart) pointer semantics.
@@ -68,7 +68,7 @@ public:
    * @param [in] handle  A reference to the copied handle.
    * @return A reference to this.
    */
-  ControlRenderer& operator=( const ControlRenderer& handle );
+  Visual& operator=( const Visual& handle );
 
   /**
    * @brief Set the size of the painting area.
@@ -147,7 +147,7 @@ public:
 
 public: // Not intended for application developers
 
-  explicit DALI_INTERNAL ControlRenderer(Internal::ControlRenderer *impl);
+  explicit DALI_INTERNAL Visual(Internal::Visual *impl);
 
 };