X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Ftext-controls%2Ftext-label-impl.h;h=c2dd4856e5212983e3729d02410365d4c836122d;hb=87b87263ddda2188a86217cca356932e36e4cd94;hp=ae88beb1a00759ad1bbd7bf442e72f8a59bb8643;hpb=801f24237cb266e175386f62231663a47196661a;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git 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 ae88beb..c2dd485 100644 --- a/dali-toolkit/internal/controls/text-controls/text-label-impl.h +++ b/dali-toolkit/internal/controls/text-controls/text-label-impl.h @@ -22,7 +22,9 @@ #include #include #include +#include #include +#include namespace Dali { @@ -36,7 +38,7 @@ namespace Internal /** * @brief A control which renders a short text string. */ -class TextLabel : public Control, public Text::ControlInterface +class TextLabel : public Control, public Text::ControlInterface, public Text::ScrollerInterface { public: @@ -117,6 +119,13 @@ private: // From Control */ virtual void MaxLengthReached(); +private: // from TextScroller + + /** + * @copydoc Text::ScrollerInterface::ScrollingFinished() + */ + virtual void ScrollingFinished(); + private: // Implementation /** @@ -143,10 +152,16 @@ private: */ 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;