1 /** 2 * @file lv_demo_smartwatch_easter_egg.h 3 * 4 */ 5 6 #ifndef LV_DEMO_SMARTWATCH_EASTER_EGG_H 7 #define LV_DEMO_SMARTWATCH_EASTER_EGG_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 easter_egg page. Called only once. 34 */ 35 void lv_demo_smartwatch_easter_egg_create(void); 36 37 /** 38 * Load the easter egg screen 39 * @param anim_type screen load animation to use 40 * @param time animation time 41 * @param delay delay time before loading the screen 42 */ 43 void lv_demo_smartwatch_easter_egg_load(lv_screen_load_anim_t anim_type, uint32_t time, uint32_t delay); 44 45 /********************** 46 * MACROS 47 **********************/ 48 49 #endif /*LV_USE_DEMO_SMARTWATCH*/ 50 51 #ifdef __cplusplus 52 } /*extern "C"*/ 53 #endif 54 55 #endif /*LV_DEMO_SMARTWATCH_HOME_H*/ 56