// 动漫角色界面 - LVGL图形基元绘制 + 序列帧动画 #ifndef UI_SCREENCHAR_H #define UI_SCREENCHAR_H #ifdef __cplusplus extern "C" { #endif #include "lvgl.h" // SCREEN: ui_ScreenChar extern void ui_ScreenChar_screen_init(void); extern void ui_ScreenChar_screen_destroy(void); extern lv_obj_t *ui_ScreenChar; // 角色动画控制(BOOT按键触发) void char_anim_start(void); // 开始眨眼+说话动画 void char_anim_stop(void); // 停止动画,恢复静态 bool char_anim_is_playing(void); // 查询动画是否在播放 #ifdef __cplusplus } /*extern "C"*/ #endif #endif