X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ftext-scroller.h;h=d4f92b9910668aad550e3a3737add7f708525683;hp=aefecdf55cf9d66ca13591668715c81646c28ca6;hb=348f6480ca53f0a1c869d2da077ee3b5e3e405eb;hpb=cdff9e083000486571111c31ae299b654a78a2b8 diff --git a/dali-toolkit/internal/text/text-scroller.h b/dali-toolkit/internal/text/text-scroller.h index aefecdf..d4f92b9 100644 --- a/dali-toolkit/internal/text/text-scroller.h +++ b/dali-toolkit/internal/text/text-scroller.h @@ -71,13 +71,13 @@ public: * @brief Set the gap distance to elapse before the text wraps around * @param[in] gap distance to elapse */ - void SetGap( float gap ); + void SetGap( int gap ); /** - * @brief Get the distance before scrolling waps + * @brief Get the distance before scrolling wraps * @return gap distance to elapse */ - float GetGap() const; + int GetGap() const; /** * @brief Set speed the text should scroll @@ -161,9 +161,9 @@ private: Property::Index mScrollDeltaIndex; // Property used by shader to represent distance to scroll Animation mScrollAnimation; // Animation used to update the mScrollDeltaIndex - int mScrollSpeed; ///< Speed which text should automatically scroll at - int mLoopCount; ///< Number of time the text should scroll - float mWrapGap; ///< Gap before text wraps around when scrolling + int mScrollSpeed; ///< Speed which text should automatically scroll at + int mLoopCount; ///< Number of time the text should scroll + int mWrapGap; ///< Gap before text wraps around when scrolling }; // TextScroller class