1. 新增AI对话LVGL界面(ai_chat_ui),支持emoji图片 + 状态文本 + 聊天消息 2. 新增7个emoji表情资源(64×64 PNG C数组):neutral/happy/sad/angry/crying/funny/laughing 3. 新增阿里巴巴普惠体20px 4bpp中文字体(GB2312字符集) 4. 利用火山RTC会话状态(VOLC_MSG_CONV_STATUS)驱动emoji切换: - LISTENING→happy, THINKING→neutral, ANSWERING→laughing - INTERRUPTED→funny, ANSWER_FINISH→happy 5. 设备状态emoji映射:Listening→happy, Speaking→laughing, Dialog→happy 6. 配网模式显示happy emoji 7. 分区优化:model 3MB→64KB,OTA 5MB→6.5MB 8. 编译优化:-Og→-Os,移除SimSun CJK字体 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
55 lines
1.5 KiB
C
55 lines
1.5 KiB
C
// This file was generated by SquareLine Studio
|
|
// SquareLine Studio version: SquareLine Studio 1.6.0
|
|
// LVGL version: 8.3.11
|
|
// Project name: Lcd_Pro
|
|
|
|
#ifndef _LCD_PRO_UI_H
|
|
#define _LCD_PRO_UI_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "lvgl.h"
|
|
|
|
#include "ui_helpers.h"
|
|
#include "ui_events.h"
|
|
|
|
///////////////////// SCREENS ////////////////////
|
|
#include "screens/ui_ScreenHome.h"
|
|
#include "screens/ui_ScreenSet.h"
|
|
#include "screens/ui_ScreenImg.h"
|
|
|
|
///////////////////// VARIABLES ////////////////////
|
|
|
|
// EVENTS
|
|
extern lv_obj_t *ui____initial_actions0;
|
|
|
|
// IMAGES AND IMAGE SETS
|
|
LV_IMG_DECLARE( ui_img_s8_png); // assets/s8.png
|
|
LV_IMG_DECLARE( ui_img_s11_png); // assets/s11.png
|
|
LV_IMG_DECLARE( ui_img_s12_png); // assets/s12.png
|
|
LV_IMG_DECLARE( ui_img_s9_png); // assets/s9.png
|
|
LV_IMG_DECLARE( ui_img_s6_png); // assets/s6.png
|
|
LV_IMG_DECLARE( ui_img_s10_png); // assets/s10.png
|
|
LV_IMG_DECLARE( ui_img_s1_png); // assets/s1.png
|
|
LV_IMG_DECLARE( ui_img_s13_png); // assets/s13.png
|
|
LV_IMG_DECLARE( ui_img_s14_png); // assets/s14.png
|
|
LV_IMG_DECLARE( ui_img_neutral_png); // emoji: 中性
|
|
LV_IMG_DECLARE( ui_img_happy_png); // emoji: 开心
|
|
LV_IMG_DECLARE( ui_img_sad_png); // emoji: 伤心
|
|
LV_IMG_DECLARE( ui_img_angry_png); // emoji: 生气
|
|
LV_IMG_DECLARE( ui_img_crying_png); // emoji: 哭泣
|
|
LV_IMG_DECLARE( ui_img_funny_png); // emoji: 滑稽
|
|
LV_IMG_DECLARE( ui_img_laughing_png); // emoji: 大笑
|
|
|
|
// UI INIT
|
|
void ui_init(void);
|
|
void ui_destroy(void);
|
|
|
|
#ifdef __cplusplus
|
|
} /*extern "C"*/
|
|
#endif
|
|
|
|
#endif
|