Merge "Stop setting crazy Z value with controls (at the moment depth is ignored by...
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / text / rendering / text-renderer.h
index 1262c90..cc7c8f4 100644 (file)
@@ -23,9 +23,6 @@
 #include <dali/public-api/common/intrusive-ptr.h>
 #include <dali/public-api/object/ref-object.h>
 
-// INTERNAL INCLUDES
-#include <dali-toolkit/internal/text/text-view-interface.h>
-
 namespace Dali
 {
 
@@ -38,11 +35,13 @@ namespace Text
 class Renderer;
 typedef IntrusivePtr<Renderer> RendererPtr;
 
+class ViewInterface;
+
 /**
  * @brief Abstract base class for Text renderers.
  *
  * This is reponsible for rendering the glyphs from a ViewInterface in the specified positions.
- * It is implemented by returning a RenderableActor intended as the child of a UI control.
+ * It is implemented by returning aActor intended as the child of a UI control.
  */
 class Renderer : public RefObject
 {
@@ -52,9 +51,10 @@ public:
    * @brief Render the glyphs from a ViewInterface.
    *
    * @param[in] view The interface to a view.
+   * @param[in] depth The depth in the tree of the parent.
    * @return The Renderable actor used to position the text.
    */
-  virtual Actor Render( ViewInterface& view ) = 0;
+  virtual Actor Render( ViewInterface& view, int depth ) = 0;
 
 protected: