X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Ftext-controls%2Ftext-label-devel.h;h=c609d34c37e14785e8c27ee8152bc2d32a08abba;hp=40c6c70a5e2d97f06093923ec0619f95ceb94c53;hb=8e381f95668a543ac1e97dde1c640054e1ebbba3;hpb=0e07671d24b10bd49423ec6ce22817000bb18336 diff --git a/dali-toolkit/devel-api/controls/text-controls/text-label-devel.h b/dali-toolkit/devel-api/controls/text-controls/text-label-devel.h index 40c6c70..c609d34 100644 --- a/dali-toolkit/devel-api/controls/text-controls/text-label-devel.h +++ b/dali-toolkit/devel-api/controls/text-controls/text-label-devel.h @@ -30,6 +30,16 @@ namespace Toolkit namespace DevelTextLabel { +/** + * @brief Enumeration for the start and end property ranges for this control. + * @SINCE_1_0.0 + */ +enum PropertyRange +{ + ANIMATABLE_PROPERTY_START_INDEX = ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX, + ANIMATABLE_PROPERTY_END_INDEX = ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX + 1000 ///< Reserve animatable property indices +}; + namespace Property { enum Type @@ -61,6 +71,9 @@ namespace Property /** * @brief The size of font in pixels. + * + * Conversion from Point size to Pixel size : + * Pixel size = Point size * DPI / 72 * @details name "pixelSize", type float */ PIXEL_SIZE = OUTLINE + 1, @@ -83,6 +96,26 @@ namespace Property * values FINISH_LOOP, IMMEDIATE, defualt FINISH_LOOP */ AUTO_SCROLL_STOP_MODE = OUTLINE + 4, + + /* + * @brief The line count of text. + * @details name "lineCount", type int + * @node this property is read-only. + */ + LINE_COUNT = OUTLINE + 5, + + /** + * @brief line wrap mode when the text lines over layout width. + * @details name "lineWrapMode", type string. + */ + LINE_WRAP_MODE = OUTLINE + 6, + + /* + * @brief Animatable text color + * @details text color property to use if required to animate the text color + */ + TEXT_COLOR_ANIMATABLE = ANIMATABLE_PROPERTY_START_INDEX + }; } // namespace Property