1 /** 2 * @file lv_demo_ebike_stats.h 3 * 4 */ 5 6 #ifndef LV_DEMO_EBIKE_STATS_H 7 #define LV_DEMO_EBIKE_STATS_H 8 9 #ifdef __cplusplus 10 extern "C" { 11 #endif 12 13 /********************* 14 * INCLUDES 15 *********************/ 16 #include "lv_demo_ebike.h" 17 18 #if LV_USE_DEMO_EBIKE 19 20 /********************* 21 * DEFINES 22 *********************/ 23 24 /********************** 25 * TYPEDEFS 26 **********************/ 27 28 /********************** 29 * GLOBAL PROTOTYPES 30 **********************/ 31 32 /** 33 * Initialize the statistics page. Called only once. 34 */ 35 void lv_demo_ebike_stats_init(void); 36 37 /** 38 * Clean up the data of the statistics page 39 */ 40 void lv_demo_ebike_stats_deinit(void); 41 42 /** 43 * Create the statistic page 44 * @param parent the parent of the statistics page 45 */ 46 void lv_demo_ebike_stats_create(lv_obj_t * parent); 47 48 #endif /*LV_USE_DEMO_EBIKE*/ 49 50 /********************** 51 * MACROS 52 **********************/ 53 54 #ifdef __cplusplus 55 } /*extern "C"*/ 56 #endif 57 58 #endif /*LV_DEMO_EBIKE_STATS_H*/ 59