X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Ftext-controls%2Ftext-label-impl.h;h=bdc587dc819fb0d60921e44c4400ce4c6914cec7;hp=c9287639481fa81674edbf42950b6fe65d6f6dca;hb=754246a1c8812496ac70cdef21c122069ad21640;hpb=c6fbedbc9a4dc72411836315807169aef2a6670b diff --git a/dali-toolkit/internal/controls/text-controls/text-label-impl.h b/dali-toolkit/internal/controls/text-controls/text-label-impl.h index c928763..bdc587d 100644 --- a/dali-toolkit/internal/controls/text-controls/text-label-impl.h +++ b/dali-toolkit/internal/controls/text-controls/text-label-impl.h @@ -22,10 +22,7 @@ #include #include #include -#include -#include -#include -#include +#include namespace Dali { @@ -39,7 +36,7 @@ namespace Internal /** * @brief A control which renders a short text string. */ -class TextLabel : public Control, public Text::ControlInterface, public Text::ScrollerInterface +class TextLabel : public Control, public Text::ControlInterface { public: @@ -107,13 +104,6 @@ private: // From Control */ virtual void RequestTextRelayout(); -private: // from TextScroller - - /** - * @copydoc Text::ScrollerInterface::ScrollingFinished() - */ - virtual void ScrollingFinished(); - private: // Implementation /** @@ -132,27 +122,9 @@ private: TextLabel(const TextLabel&); TextLabel& operator=(const TextLabel& rhs); - // Connection needed to re-render text, when a Text Label returns to the stage - void OnStageConnect( Dali::Actor actor ); - - /** - * @brief Render view, create and attach actor(s) to this Text Label - */ - void RenderText(); - - /** - * @brief Set up Autoscrolling - */ - void SetUpAutoScrolling(); - private: // Data - Text::ControllerPtr mController; - Text::RendererPtr mRenderer; - Text::TextScrollerPtr mTextScroller; - Actor mRenderableActor; - int mRenderingBackend; - bool mHasBeenStaged:1; + Toolkit::Visual::Base mVisual; }; } // namespace Internal