X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ftext-controller.h;h=c6b01a42e3a98c1c06abb7180964dbe15c65ce91;hb=026776eb4b0303604b3c6ca5857cc1ac59b4006e;hp=75623940788d2505b65b6b9c618df2b7b5543d97;hpb=8177827cf40d243367b4c92ea8d5e3c40d42f3ae;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 7562394..c6b01a4 100644 --- a/dali-toolkit/internal/text/text-controller.h +++ b/dali-toolkit/internal/text/text-controller.h @@ -454,6 +454,13 @@ public: // Update. /** * @brief Replaces any placeholder text previously set. * + * @param[in] text A string of UTF-8 characters. + */ + void SetPlaceholderText( const std::string& text ); + + /** + * @brief Replaces any placeholder text previously set. + * * @param[in] type Different placeholder-text can be shown when the control is active/inactive. * @param[in] text A string of UTF-8 characters. */ @@ -462,6 +469,13 @@ public: // Update. /** * @brief Retrieve any placeholder text previously set. * + * @param[out] A string of UTF-8 characters. + */ + void GetPlaceholderText( std::string& text ) const; + + /** + * @brief Retrieve any placeholder text previously set. + * * @param[in] type Different placeholder-text can be shown when the control is active/inactive. * @param[out] A string of UTF-8 characters. */ @@ -910,6 +924,13 @@ public: // Queries & retrieves. float GetHeightForWidth( float width ); /** + * @brief Retrieves the text's number of lines for a given width. + * @param[in] width The width of the text's area. + * @ return The number of lines. + */ + int GetLineCount( float width ); + + /** * @brief Retrieves the text's model. * * @return A pointer to the text's model.