X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ftext-controller.h;h=dc2b4c4a392d0935cb29d1d437231a551547ed14;hp=d5ec2ae57771c26a462c93c28fe980326aef7f2a;hb=2aab2479f7e6d127df4de063328570cc247ce6d4;hpb=8ed81b9354358cf4435d19ced725a8ecdd89c904 diff --git a/dali-toolkit/internal/text/text-controller.h b/dali-toolkit/internal/text/text-controller.h index d5ec2ae..dc2b4c4 100755 --- a/dali-toolkit/internal/text/text-controller.h +++ b/dali-toolkit/internal/text/text-controller.h @@ -25,6 +25,8 @@ // INTERNAL INCLUDES #include #include +#include +#include #include #include #include @@ -392,6 +394,18 @@ public: // Configure the text controller. bool IsSelectionEnabled() const; /** + * @brief Enable or disable the text selection using Shift key. + * @param enabled Whether to enable the text selection using Shift key + */ + void SetShiftSelectionEnabled( bool enabled ); + + /** + * @brief Whether the text selection using Shift key is enabled or not. + * @return True if the text selection using Shift key is enabled + */ + bool IsShiftSelectionEnabled() const; + + /** * @brief Sets input type to password * * @note The string is displayed hidden character @@ -832,14 +846,14 @@ public: // Default style & Input style * * @param[in] width The width in pixels of the outline, 0 indicates no outline */ - void SetOutlineWidth( float width ); + void SetOutlineWidth( unsigned int width ); /** * @brief Retrieves the width of an outline * * @return The width of the outline. */ - float GetOutlineWidth() const; + unsigned int GetOutlineWidth() const; /** * @brief Sets the emboss's properties string. @@ -1154,6 +1168,12 @@ public: // Queries & retrieves. */ void GetPlaceholderProperty( Property::Map& map ); + /** + * @brief Checks text direction. + * @return The text direction. + */ + Toolkit::DevelText::TextDirection::Type GetTextDirection(); + public: // Relayout. /**