X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ftext-controller.h;h=7badd1e78dca6fb6143a487fd79a1780520241cb;hb=54762b21b34ed298bbb781a5895fc6c4c1ef37b6;hp=d035397ce05534fd13e0e0519de87ee92a0ef6bc;hpb=39fc99671f79f683a834406e24edf485752c600d;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/text-controller.h b/dali-toolkit/internal/text/text-controller.h index d035397..7badd1e 100644 --- a/dali-toolkit/internal/text/text-controller.h +++ b/dali-toolkit/internal/text/text-controller.h @@ -174,6 +174,13 @@ public: CharacterDirection GetAutoScrollDirection() const; /** + * @brief Get the alignment offset of the first line of text. + * + * @return The alignment offset. + */ + float GetAutoScrollLineAlignment() const; + + /** * @brief Replaces any text previously set. * * @note This will be converted into UTF-32 when stored in the text model. @@ -708,13 +715,6 @@ public: const Vector2& GetScrollPosition() const; /** - * @brief Query the alignment offset. - * - * @return The alignmnet offset. - */ - const Vector2& GetAlignmentOffset() const; - - /** * @copydoc Control::GetNaturalSize() */ Vector3 GetNaturalSize(); @@ -816,11 +816,11 @@ public: LayoutEngine::VerticalAlignment GetVerticalAlignment() const; /** - * @brief Calulates the alignment of the whole text inside the bounding box. + * @brief Calulates the vertical offset to align the text inside the bounding box. * * @param[in] size The size of the bounding box. */ - void CalculateTextAlignment( const Size& size ); + void CalculateVerticalOffset( const Size& size ); /** * @brief Return the layout engine.