1 /**
2  * @file lv_gif_private.h
3  *
4  */
5 
6 #ifndef LV_GIF_PRIVATE_H
7 #define LV_GIF_PRIVATE_H
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 /*********************
14  *      INCLUDES
15  *********************/
16 
17 #include "../../widgets/image/lv_image_private.h"
18 #include "lv_gif.h"
19 
20 #if LV_USE_GIF
21 
22 /*********************
23  *      DEFINES
24  *********************/
25 
26 /**********************
27  *      TYPEDEFS
28  **********************/
29 
30 /**********************
31  *      TYPEDEFS
32  **********************/
33 
34 struct _lv_gif_t {
35     lv_image_t img;
36     gd_GIF * gif;
37     lv_timer_t * timer;
38     lv_image_dsc_t imgdsc;
39     uint32_t last_call;
40 };
41 
42 
43 /**********************
44  * GLOBAL PROTOTYPES
45  **********************/
46 
47 /**********************
48  *      MACROS
49  **********************/
50 
51 #endif /* LV_USE_GIF */
52 
53 #ifdef __cplusplus
54 } /*extern "C"*/
55 #endif
56 
57 #endif /*LV_GIF_PRIVATE_H*/
58