Dzbj_ESP32-S3_Key/main/ui/screens/ui_ScreenChar.h
Rdzleo d4303f46fe ESP32-S3按键版非AI电子吧唧代码初始化
1、本项目由Dzbj_ESP32_S3项目复制而来,暂未开始按键功能开发;
2、使用此版本进行按键控制电子吧唧、当前开发板屏幕为非触摸屏;
2026-03-25 09:48:26 +08:00

26 lines
613 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// 动漫角色界面 - 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