X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Frendering%2Ftext-renderer.h;h=1d473c59605ecd6fcc697ca74d2d97fb7fa38c8f;hb=edbdf42bbfda9c87246d8142574ce15b36ccd6a8;hp=17be8d83d0ef13117a6aa89a979dcd3c6b945db0;hpb=801f24237cb266e175386f62231663a47196661a;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/rendering/text-renderer.h b/dali-toolkit/internal/text/rendering/text-renderer.h index 17be8d8..1d473c5 100644 --- a/dali-toolkit/internal/text/rendering/text-renderer.h +++ b/dali-toolkit/internal/text/rendering/text-renderer.h @@ -23,9 +23,6 @@ #include #include -// INTERNAL INCLUDES -#include - namespace Dali { @@ -38,11 +35,13 @@ namespace Text class Renderer; typedef IntrusivePtr 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 { @@ -52,10 +51,17 @@ public: * @brief Render the glyphs from a ViewInterface. * * @param[in] view The interface to a view. + * @param[in] textControl handle to the text control + * @param[in] animatablePropertyIndex textControl specific animatable property + * @param[out] alignmentOffset Offset used to internally align the placement actor. * @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, int depth ) = 0; + virtual Actor Render( ViewInterface& view, + Actor textContol, + Property::Index animatablePropertyIndex, + float& alignmentOffset, + int depth ) = 0; protected: