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=f4698f620026a70e67671b6e9ab43f5a2e7cd398;hb=24d391fe222bd0fd5910e3b3481124fa23b796be;hpb=3d0003ca2eba6287c2ea16eef196a74b097f4190 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 f4698f6..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, @@ -76,9 +79,44 @@ namespace Property * @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