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-image-visual-actions-devel.h;h=dbe96319036a3e2aeeb8cc7b541b8dc644ab4386;hp=b654a6938aa0c8aa6fd83cfcdfd7821bf9fc2c3b;hb=HEAD;hpb=495443c24fb1a97b177a6cf8a4ae81ca7de47a74 diff --git a/dali-toolkit/devel-api/visuals/animated-image-visual-actions-devel.h b/dali-toolkit/devel-api/visuals/animated-image-visual-actions-devel.h index b654a69..7436b85 100644 --- a/dali-toolkit/devel-api/visuals/animated-image-visual-actions-devel.h +++ b/dali-toolkit/devel-api/visuals/animated-image-visual-actions-devel.h @@ -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) 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. @@ -17,16 +17,15 @@ * limitations under the License. * */ +#include +#include 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 +36,12 @@ 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 = DevelImageVisual::Action::IMAGE_VISUAL_ACTION_END_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. + + ANIMATED_IMAGE_VISUAL_ACTION_END_INDEX = DevelImageVisual::Action::IMAGE_VISUAL_ACTION_END_INDEX + 1000 ///< End of animated image visual action index. }; } // namespace Action