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=2b53fc54e2bea76eaa773eee2e4bff28695c14fd;hp=0d0ca824d4e1dacdc861ad11bb7be3ce9d253c64;hb=24d391fe222bd0fd5910e3b3481124fa23b796be;hpb=24ea337df1049251ab2e47c556edc6e8458f9c93 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 0d0ca82..2b53fc5 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 @@ -61,6 +61,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, @@ -70,9 +73,50 @@ namespace Property * @details name "ellipsis", type bool */ ELLIPSIS = OUTLINE + 2, + + /** + * @brief delay starting time of auto scrolling and further loops + * @details name "autoScrollLoopDelay", type float. + */ + AUTO_SCROLL_LOOP_DELAY = OUTLINE + 3, + + /** + * @brief Auto scrolling stop behaviour. + * @details name "autoScrollStopMode", type [Type](@ref Dali::Toolkit::DevelTextLabel::AutoScrollStopMode::Type) (Property::INTEGER) or Property::STRING. + * 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 }; } // namespace Property +/** +* @brief The type for TextLabel::Property::AUTO_SCROLL_STOP_MODE +*/ +namespace AutoScrollStopMode +{ +/** +* @ref Dali::Toolkit::DevelTextLabel::AutoScrollStopMode +*/ +enum Type +{ + FINISH_LOOP = 0, ///< stop animation after current loop finished. + IMMEDIATE ///< stop animation immediatly and reset position. +}; +} // namespace AutoScrollStopMode + } // namespace DevelText } // namespace Toolkit