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=d48eea896bb1e9c231dca99384f5adbe828d82f8;hp=eb39aa6ad3e570f157b3ec3cf45f85d302bbf1fd;hb=46a27bd33d7dc6ef7844b63399dbdfcb2ebb55d7;hpb=88164ac28facfc414392d99ff5d1cbcd4f9e9d2c 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 eb39aa6..d48eea8 100644 --- a/dali-toolkit/devel-api/visuals/image-visual-properties-devel.h +++ b/dali-toolkit/devel-api/visuals/image-visual-properties-devel.h @@ -92,12 +92,35 @@ enum Type * @details Name "playRange", Type Property::VECTOR2, between 0 and 1 * @note Default 0 and 1 */ - PLAY_RANGE = ORIENTATION_CORRECTION + 4 + PLAY_RANGE = ORIENTATION_CORRECTION + 4, + /** + * @brief The playing state the AnimatedVectorImageVisual will use. + * @details Name "playState", type PlayState (Property::INTEGER) + * @note This property is read-only. + */ + 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 + * @note This property is read-only. + */ + CURRENT_PROGRESS = ORIENTATION_CORRECTION + 6 }; } //namespace Property +/** + * @brief Enumeration for what state the animation is in. + */ +enum class PlayState +{ + STOPPED, ///< Animation has stopped + PLAYING, ///< The animation is playing + PAUSED ///< The animation is paused +}; + } // namespace DevelImageVisual } // namespace Toolkit