feat: 添加第二屏幕及其事件处理功能
- 在 CMakeLists.txt 中添加 ui_Screen2.c 源文件以支持新屏幕 - 新增 ui_events.c 和 ui_events.h,定义按钮点击事件处理函数 - 实现 ui_Screen2.c,构建第二屏幕的 UI 组件和事件回调 - 更新 ui.c 以初始化和加载第二屏幕 - 更新相关头文件,确保新屏幕与现有结构兼容
This commit is contained in:
@@ -10,6 +10,13 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "lvgl.h"
|
||||
|
||||
void update_year_action(lv_event_t * e);
|
||||
void click_button_two(lv_event_t * e);
|
||||
void click_button_three(lv_event_t * e);
|
||||
void click_button_one(lv_event_t * e);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /*extern "C"*/
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user