X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fvisuals%2Fanimated-image%2Frolling-image-cache.h;h=f33a7b317cd5533a16c33eb174efb64a5a0e1f7f;hp=f57b5c2ec65c94f06bc9a7e4f27bcba2146f796c;hb=8c45458b64211285df3df591dfcb628126a1bc0e;hpb=e5d4cd830e75a208dd18c743e1564a4ed1fde780 diff --git a/dali-toolkit/internal/visuals/animated-image/rolling-image-cache.h b/dali-toolkit/internal/visuals/animated-image/rolling-image-cache.h index f57b5c2..f33a7b3 100644 --- a/dali-toolkit/internal/visuals/animated-image/rolling-image-cache.h +++ b/dali-toolkit/internal/visuals/animated-image/rolling-image-cache.h @@ -57,7 +57,7 @@ public: /** * Destructor */ - virtual ~RollingImageCache(); + ~RollingImageCache() override; /** * Get the Nth frame. If it's not ready, this will trigger the @@ -72,9 +72,26 @@ public: TextureSet FirstFrame() override; /** + * Get the next frame. If it's not ready, this will trigger the + * sending of FrameReady() when the image becomes ready. + */ + TextureSet NextFrame() override; + + /** * Get the interval of Nth frame. */ - uint32_t GetFrameInterval( uint32_t frameIndex ) override; + uint32_t GetFrameInterval( uint32_t frameIndex ) const override; + + /** + * Get the current rendered frame index. + * If there isn't any loaded frame, returns -1. + */ + int32_t GetCurrentFrameIndex() const override; + + /** + * Get total frame count of the animated image file. + */ + int32_t GetTotalFrameCount() const override; private: /**