1 /** 2 * @file lv_demo_ebike_home.h 3 * 4 */ 5 6 #ifndef LV_DEMO_EBIKE_HOME_H 7 #define LV_DEMO_EBIKE_HOME_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 home page. Called only once. 34 */ 35 void lv_demo_ebike_home_init(void); 36 37 /** 38 * Clean up the data of the home pages 39 */ 40 void lv_demo_ebike_home_deinit(void); 41 42 /** 43 * Create the home page 44 * @param parent the parent of the home page 45 */ 46 void lv_demo_ebike_home_create(lv_obj_t * parent); 47 48 /********************** 49 * MACROS 50 **********************/ 51 52 #endif /*LV_USE_DEMO_EBIKE*/ 53 54 #ifdef __cplusplus 55 } /*extern "C"*/ 56 #endif 57 58 #endif /*LV_DEMO_EBIKE_HOME_H*/ 59