1 /** 2 * @file lv_demo_smartwatch_list.h 3 * 4 */ 5 6 #ifndef LV_DEMO_SMARTWATCH_LIST_H 7 #define LV_DEMO_SMARTWATCH_LIST_H 8 9 #ifdef __cplusplus 10 extern "C" { 11 #endif 12 13 /********************* 14 * INCLUDES 15 *********************/ 16 #include "lv_demo_smartwatch.h" 17 18 #if LV_USE_DEMO_SMARTWATCH 19 20 /********************* 21 * DEFINES 22 *********************/ 23 24 /********************** 25 * TYPEDEFS 26 **********************/ 27 28 /********************** 29 * GLOBAL PROTOTYPES 30 **********************/ 31 32 /** 33 * Create the list page. Called only once. 34 * @param parent tileview object 35 */ 36 void lv_demo_smartwatch_list_create(lv_obj_t * parent); 37 38 /** 39 * Load the app list screen 40 * @param anim_type screen load animation to use 41 * @param time animation time 42 * @param delay delay time before loading the screen 43 */ 44 void lv_demo_smartwatch_list_load(lv_screen_load_anim_t anim_type, uint32_t time, uint32_t delay); 45 46 /** 47 * External apps call this function to return to the app list 48 */ 49 void lv_demo_smartwatch_app_close(void); 50 51 52 /********************** 53 * MACROS 54 **********************/ 55 56 #endif /*LV_USE_DEMO_SMARTWATCH*/ 57 58 #ifdef __cplusplus 59 } /*extern "C"*/ 60 #endif 61 62 #endif /*LV_DEMO_SMARTWATCH_HOME_H*/ 63