纳入固件源码、屏幕组件、nand_xfer 工具和文档。忽略本机构建产物、sdkconfig,以及含本机路径的依赖锁。 Co-authored-by: Cursor <[email protected]>
47 lines
1.4 KiB
C
47 lines
1.4 KiB
C
/*
|
|
* Copyright 2026 NXP
|
|
* NXP Proprietary. This software is owned or controlled by NXP and may only be used strictly in
|
|
* accordance with the applicable license terms. By expressly accepting such terms or by downloading, installing,
|
|
* activating and/or otherwise using the software, you are agreeing that you have read, and that you agree to
|
|
* comply with and are bound by, such license terms. If you do not agree to be bound by the applicable license
|
|
* terms, then you may not retain, install, activate or otherwise use the software.
|
|
*/
|
|
|
|
|
|
#ifndef EVENTS_INIT_H_
|
|
#define EVENTS_INIT_H_
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "gui_guider.h"
|
|
|
|
#include "freertos/FreeRTOS.h"
|
|
#include "freertos/task.h"
|
|
|
|
#include "LVGL/lvgl_init.h"
|
|
extern volatile bool is_system_sleeping;
|
|
|
|
void toggle_sleep_mode(bool enter_sleep);
|
|
|
|
|
|
|
|
void events_init(lv_ui *ui);
|
|
void events_init_screen_home_weather(lv_ui *ui);
|
|
void events_init_screen_time(lv_ui *ui);
|
|
void events_init_screen_pull_down(lv_ui *ui);
|
|
void events_init_screen_sleep(lv_ui *ui);
|
|
void events_init_screen_set(lv_ui *ui);
|
|
void events_init_screen_component(lv_ui *ui);
|
|
void events_init_screen_mindfulness(lv_ui *ui);
|
|
void events_init_screen_sortition(lv_ui *ui);
|
|
void events_init_screen_sortition_history(lv_ui *ui);
|
|
void events_init_screen_fortune_text(lv_ui *ui);
|
|
void events_init_screen_sortition_text(lv_ui *ui);
|
|
void events_init_screen_Perpetual_Calendar(lv_ui *ui);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif /* EVENT_CB_H_ */
|