X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ftext-vertical-scroller.h;h=ff93c9e27c71e99413af272bf32ca5119cc6cfbb;hp=f6a005a560a3d27dac63ac1e760061a10503a2ba;hb=eb86a7e2a223a3876fa8be052872df527aad777f;hpb=e5db233869c72ec43ed7be31a3f1a2231f1f510d diff --git a/dali-toolkit/internal/text/text-vertical-scroller.h b/dali-toolkit/internal/text/text-vertical-scroller.h index f6a005a..ff93c9e 100644 --- a/dali-toolkit/internal/text/text-vertical-scroller.h +++ b/dali-toolkit/internal/text/text-vertical-scroller.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_TEXT_VERTICAL_SCROLLER_H /* - * Copyright (c) 2017 Samsung Electronics Co., Ltd. + * Copyright (c) 2021 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,13 +26,10 @@ namespace Dali { - namespace Toolkit { - namespace Text { - class TextVerticalScroller; typedef IntrusivePtr TextVerticalScrollerPtr; @@ -43,7 +40,6 @@ typedef IntrusivePtr TextVerticalScrollerPtr; class TextVerticalScroller : public RefObject, public ConnectionTracker { public: - /** * @brief Text Scrolling helper, used to automatically scroll text, StartScroll should be called when scrolling is needed. * @@ -57,13 +53,13 @@ public: * @param[in] y The new y position * @param[in] scrollAmount The distance to destination y position for actor to be animated */ - void CheckStartAnimation( Actor& sourceActor, float x, float y, float scrollAmount ); + void CheckStartAnimation(Actor& sourceActor, float x, float y, float scrollAmount); /** * @brief Set duration the text should scroll * @param[in] duration The duration in seconds */ - void SetDuration( float duration ); + void SetDuration(float duration); private: // Implementation /** @@ -77,12 +73,11 @@ private: // Implementation virtual ~TextVerticalScroller(); private: - - Animation mScrollAnimation; // Animation used to update the actor's position - Actor mScrollingActor; // The actor being animated - float mDuration; // The duration of text scrolling - float mScrollTo; // The destination y position -}; // TextVerticalScroller class + Animation mScrollAnimation; // Animation used to update the actor's position + Actor mScrollingActor; // The actor being animated + float mDuration; // The duration of text scrolling + float mScrollTo; // The destination y position +}; // TextVerticalScroller class } // namespace Text