X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fvisuals%2Fimage-visual-properties-devel.h;h=9968b5cf2e45be103997fc7eea1ec9af9e6cdc12;hp=d48eea896bb1e9c231dca99384f5adbe828d82f8;hb=f241f4e0ee21b508d75e622db5f81e505ec1166d;hpb=46a27bd33d7dc6ef7844b63399dbdfcb2ebb55d7 diff --git a/dali-toolkit/devel-api/visuals/image-visual-properties-devel.h b/dali-toolkit/devel-api/visuals/image-visual-properties-devel.h index d48eea8..9968b5c 100644 --- a/dali-toolkit/devel-api/visuals/image-visual-properties-devel.h +++ b/dali-toolkit/devel-api/visuals/image-visual-properties-devel.h @@ -77,7 +77,7 @@ enum Type AUXILIARY_IMAGE_ALPHA = ORIENTATION_CORRECTION + 2, /** - * @brief The number of times the AnimatedImageVisual will be looped. + * @brief The number of times the AnimatedImageVisual or AnimatedVectorImageVisual will be looped. * @details Name "loopCount", type Property::INTEGER. * @note For Animated images only. Default -1. if < 0, loop unlimited. else, loop loopCount times. */ @@ -86,11 +86,12 @@ enum Type /** * @brief The playing range the AnimatedVectorImageVisual will use. * - * Animation will play between the values specified. Both values should be between 0-1, - * otherwise they will be ignored. If the range provided is not in proper order ( minimum,maximum ), it will be reordered. + * Animation will play between the values specified. The array can only have two values, and more will be ignored. + * Both values should be between 0 and the total frame number, otherwise they will be ignored. + * If the range provided is not in proper order ( minimum, maximum ), it will be reordered. * - * @details Name "playRange", Type Property::VECTOR2, between 0 and 1 - * @note Default 0 and 1 + * @details Name "playRange", Type Property::ARRAY of Property::INTEGER + * @note Default 0 and the total frame number. */ PLAY_RANGE = ORIENTATION_CORRECTION + 4, @@ -102,11 +103,18 @@ enum Type PLAY_STATE = ORIENTATION_CORRECTION + 5, /** - * @brief The animation progress the AnimatedVectorImageVisual will use. - * @details Name "currentProgress", Type Property::FLOAT, between [0, 1] or between the play range if specified + * @brief The current frame number the AnimatedVectorImageVisual will use. + * @details Name "currentFrameNumber", Type Property::INTEGER, between [0, the maximum frame number] or between the play range if specified * @note This property is read-only. */ - CURRENT_PROGRESS = ORIENTATION_CORRECTION + 6 + CURRENT_FRAME_NUMBER = ORIENTATION_CORRECTION + 6, + + /** + * @brief The total frame number the AnimatedVectorImageVisual will use. + * @details Name "totalFrameNumber", Type Property::INTEGER. + * @note This property is read-only. + */ + TOTAL_FRAME_NUMBER = ORIENTATION_CORRECTION + 7 }; } //namespace Property