acid-drop- Hacking the planet from a LilyGo T-Deck using custom firmware |
git clone git://git.acid.vegas/acid-drop.git |
Log | Files | Refs | Archive | README | LICENSE |
lv_demo_benchmark.h (960B)
1 /** 2 * @file lv_demo_benchmark.h 3 * 4 */ 5 6 #ifndef LV_DEMO_BENCHMARK_H 7 #define LV_DEMO_BENCHMARK_H 8 9 #ifdef __cplusplus 10 extern "C" { 11 #endif 12 13 /********************* 14 * INCLUDES 15 *********************/ 16 // #include "../lv_demos.h" 17 #include <lvgl.h> 18 19 /********************* 20 * DEFINES 21 *********************/ 22 23 /********************** 24 * TYPEDEFS 25 **********************/ 26 typedef void finished_cb_t(void); 27 28 29 /********************** 30 * GLOBAL PROTOTYPES 31 **********************/ 32 void lv_demo_benchmark(void); 33 34 void lv_demo_benchmark_run_scene(int_fast16_t scene_no); 35 36 void lv_demo_benchmark_set_finished_cb(finished_cb_t * finished_cb); 37 38 /** 39 * Make the benchmark work at the highest frame rate 40 * @param en true: highest frame rate; false: default frame rate 41 */ 42 void lv_demo_benchmark_set_max_speed(bool en); 43 44 /********************** 45 * MACROS 46 **********************/ 47 48 #ifdef __cplusplus 49 } /* extern "C" */ 50 #endif 51 52 #endif /*LV_DEMO_BENCHMARK_H*/