2025-09-22 21:45:02 +08:00
|
|
|
// LVGL VERSION: 9.2
|
2025-08-05 16:06:46 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef _UI_H
|
|
|
|
|
#define _UI_H
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#include "stdio.h"
|
2025-12-06 16:28:47 +08:00
|
|
|
#include "lvgl.h"
|
2025-11-26 19:16:32 +08:00
|
|
|
#include "./common/lv_lib_pm.h"
|
|
|
|
|
#include "./common/lv_lib_animation.h"
|
2025-12-06 16:28:47 +08:00
|
|
|
#include "./ui_helpers.h"
|
2025-08-05 16:06:46 +08:00
|
|
|
|
|
|
|
|
void ui_init(void);
|
2025-11-26 19:16:32 +08:00
|
|
|
|
2025-09-22 21:45:02 +08:00
|
|
|
// FONTS
|
|
|
|
|
LV_FONT_DECLARE(ui_font_HeiTi32);
|
|
|
|
|
LV_FONT_DECLARE(ui_font_HeiTi48);
|
|
|
|
|
|
2025-11-26 19:16:32 +08:00
|
|
|
// IMAGES AND IMAGE SETS
|
|
|
|
|
LV_IMG_DECLARE(ui_img_chicken_png);
|
|
|
|
|
|
2025-08-05 16:06:46 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
} /*extern "C"*/
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif
|