4 #ifndef EFL_BETA_API_SUPPORT
5 #define EFL_BETA_API_SUPPORT
8 #ifndef EFL_EO_API_SUPPORT
9 #define EFL_EO_API_SUPPORT
16 #include <Ecore_Evas.h>
17 #include"lottieplayer.h"
23 enum class RepeatMode {
27 LottieView(Evas *evas, bool renderMode = true, bool asyncRender = true);
29 void setSize(int w, int h);
30 void setPos(int x, int y);
31 void setFilePath(const char *filePath);
35 void setSpeed(float speed) { mSpeed = speed;}
36 void setRepeatCount(int count);
37 void setRepeatMode(LottieView::RepeatMode mode);
46 void createVgNode(LOTNode *node, Efl_VG *parent);
47 void update(const std::vector<LOTNode *> &);
56 LottieView::RepeatMode mRepeatMode;
58 Ecore_Animator *mAnimator;