*/
// EXTERNAL INCLUDES
-#include <dali/public-api/actors/renderable-actor.h>
+#include <dali/public-api/actors/actor.h>
#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
{
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 an Actor intended as the child of a UI control.
*/
class Renderer : public RefObject
{
* @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 RenderableActor Render( ViewInterface& view ) = 0;
+ virtual Actor Render( ViewInterface& view, int depth ) = 0;
protected: