X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fvisuals%2Fanimated-vector-image-visual-actions-devel.h;h=ecb91ae72302b83b523090b3fa39f33864fa8bb4;hp=33c88e0c13e5674fc3f0eeb05857499e20d63d17;hb=HEAD;hpb=1f5f10ff81ed70d033cbc236216dda5ea5a1b8e4 diff --git a/dali-toolkit/devel-api/visuals/animated-vector-image-visual-actions-devel.h b/dali-toolkit/devel-api/visuals/animated-vector-image-visual-actions-devel.h index 33c88e0..b17e79d 100644 --- a/dali-toolkit/devel-api/visuals/animated-vector-image-visual-actions-devel.h +++ b/dali-toolkit/devel-api/visuals/animated-vector-image-visual-actions-devel.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_DEVEL_API_VISUALS_ANIMATED_VECTOR_IMAGE_VISUAL_ACTIONS_DEVEL_H /* - * Copyright (c) 2022 Samsung Electronics Co., Ltd. + * Copyright (c) 2023 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,6 +20,8 @@ // EXTERNAL INCLUDES #include +#include +#include #include #include @@ -39,11 +41,16 @@ namespace Action */ enum Type { - PLAY = VISUAL_ACTION_START_INDEX, ///< Play the animated vector image. - PAUSE, ///< Pause the animated vector image. - STOP, ///< Stop the animated vector image. This is also Default playback mode. - JUMP_TO, ///< Jump to the specified frame. Property::INTEGER value should be passed. - SET_DYNAMIC_PROPERTY ///< Set the dynamic property. + // Shared actions with AnimatedImageVisual + PLAY = DevelAnimatedImageVisual::Action::PLAY, ///< Play the animated vector image. + PAUSE = DevelAnimatedImageVisual::Action::PAUSE, ///< Pause the animated vector image. + STOP = DevelAnimatedImageVisual::Action::STOP, ///< Stop the animated vector image. This is also Default playback mode. + JUMP_TO = DevelAnimatedImageVisual::Action::JUMP_TO, ///< Jump to the specified frame. Property::INTEGER value should be passed. + + // AnimatedVectorImageVisual only actions + SET_DYNAMIC_PROPERTY = DevelAnimatedImageVisual::Action::ANIMATED_IMAGE_VISUAL_ACTION_END_INDEX, ///< Set the dynamic property. + + FLUSH, ///< Flush animation data. It will make ensure that changeness of animated vector image properties flushed. }; } // namespace Action