#define DALI_INTERNAL_VECTOR_ANIMATION_RENDERER_IMPL_H
/*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 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.
/**
* Dali internal VectorAnimationRenderer.
*/
-class VectorAnimationRenderer : public BaseObject
+class VectorAnimationRenderer : public BaseObject, public ConnectionTracker
{
public:
/**
* @brief Initializes member data.
*/
- void Initialize( const std::string& url, Dali::Renderer renderer, uint32_t width, uint32_t height );
+ void Initialize( const std::string& url );
/**
- * @copydoc Dali::VectorAnimationRenderer::StartRender()
+ * @copydoc Dali::VectorAnimationRenderer::SetRenderer()
*/
- bool StartRender();
+ void SetRenderer( Dali::Renderer renderer );
/**
- * @copydoc Dali::VectorAnimationRenderer::StopRender()
+ * @copydoc Dali::VectorAnimationRenderer::SetSize()
*/
- void StopRender();
+ void SetSize( uint32_t width, uint32_t height );
/**
* @copydoc Dali::VectorAnimationRenderer::Render()
*/
- void Render( uint32_t frameNumber );
+ bool Render( uint32_t frameNumber );
/**
* @copydoc Dali::VectorAnimationRenderer::GetTotalFrameNumber()
*/
- uint32_t GetTotalFrameNumber();
+ uint32_t GetTotalFrameNumber() const;
+
+ /**
+ * @copydoc Dali::VectorAnimationRenderer::GetFrameRate()
+ */
+ float GetFrameRate() const;
+
+ /**
+ * @copydoc Dali::VectorAnimationRenderer::GetDefaultSize()
+ */
+ void GetDefaultSize( uint32_t& width, uint32_t& height ) const;
+
+ /**
+ * @copydoc Dali::VectorAnimationRenderer::UploadCompletedSignal()
+ */
+ Dali::VectorAnimationRenderer::UploadCompletedSignalType& UploadCompletedSignal();
private: