Refactoring VisualActions
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / devel-api / visuals / animated-image-visual-actions-devel.h
index b654a69..94ae63c 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_TOOLKIT_DEVEL_API_VISUALS_ANIMATED_IMAGE_VISUAL_ACTIONS_DEVEL_H
 
 /*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2021 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.
  * limitations under the License.
  *
  */
+#include <dali-toolkit/devel-api/toolkit-action-index-ranges.h>
 
 namespace Dali
 {
-
 namespace Toolkit
 {
-
 namespace DevelAnimatedImageVisual
 {
-
 /**
  * @brief Actions that the animated image visual can perform.  These actions are called through the Visual::Base::DoAction API.
  */
@@ -37,9 +35,10 @@ namespace Action
  */
 enum Type
 {
-  PLAY,        ///< Play the animated GIF. This is also Default playback mode.
-  PAUSE,       ///< Pause the animated GIF.
-  STOP         ///< Stop the animated GIF.
+  PLAY = VISUAL_ACTION_START_INDEX, ///< Play the animated GIF. This is also Default playback mode.
+  PAUSE,                            ///< Pause the animated GIF.
+  STOP,                             ///< Stop the animated GIF.
+  JUMP_TO                           ///< Jump to the specified frame. Property::INTEGER value should be passed.
 };
 
 } // namespace Action