mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-15 10:58:54 +00:00
95 lines
3.6 KiB
C
95 lines
3.6 KiB
C
/*
|
|
* Copyright 2025 NXP
|
|
* NXP Confidential and 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"
|
|
|
|
void events_init(lv_ui *ui);
|
|
|
|
void events_init_screen_main(lv_ui *ui);
|
|
void events_init_setting(lv_ui *ui);
|
|
void events_init_mianinfopage(lv_ui *ui);
|
|
void events_init_displayinfopage(lv_ui *ui);
|
|
void events_init_dateinfopage(lv_ui *ui);
|
|
void events_init_datesetpage(lv_ui *ui);
|
|
void events_init_langinfopage(lv_ui *ui);
|
|
void events_init_smartinfopage(lv_ui *ui);
|
|
void events_init_firstinfopage(lv_ui *ui);
|
|
void events_init_relayinfopage(lv_ui *ui);
|
|
void events_init_scene(lv_ui *ui);
|
|
|
|
void events_init_onoff1(lv_ui *ui);
|
|
void events_init_onoff1_remove(lv_ui *ui);
|
|
void events_init_onoff2(lv_ui *ui);
|
|
void events_init_onoff2_remove(lv_ui *ui);
|
|
void events_init_onoff3(lv_ui *ui);
|
|
void events_init_onoff3_remove(lv_ui *ui);
|
|
void events_init_onoff4(lv_ui *ui);
|
|
void events_init_onoff4_remove(lv_ui *ui);
|
|
void events_init_onofftime1(lv_ui *ui);
|
|
void events_init_onofftime1_remove(lv_ui *ui);
|
|
void events_init_onofftime2(lv_ui *ui);
|
|
void events_init_onofftime2_remove(lv_ui *ui);
|
|
void events_init_onofftime3(lv_ui *ui);
|
|
void events_init_onofftime3_remove(lv_ui *ui);
|
|
void events_init_onofftime4(lv_ui *ui);
|
|
void events_init_onofftime4_remove(lv_ui *ui);
|
|
|
|
void events_init_dimmer(lv_ui *ui);
|
|
void events_init_dimmerinfo(lv_ui *ui);
|
|
void events_init_curtain(lv_ui *ui);
|
|
void events_init_curtaininfo(lv_ui *ui);
|
|
void events_init_rollersinfo(lv_ui *ui);
|
|
void events_init_device(lv_ui *ui);
|
|
void events_init_screensaver(lv_ui *ui);
|
|
//设备界面
|
|
void events_init_addsubdevicepage(lv_ui *ui);
|
|
|
|
//子设备事件初始化
|
|
//0 场景开关1路
|
|
void create_device_gang1(lv_ui *ui,lv_obj_t * parent, lv_coord_t x, lv_coord_t y,lv_coord_t w, lv_coord_t h);
|
|
void events_init_device_gang1(lv_ui *ui);
|
|
//1 场景开关2路
|
|
void create_device_gang2(lv_ui *ui,lv_obj_t * parent, lv_coord_t x, lv_coord_t y,lv_coord_t w, lv_coord_t h);
|
|
void events_init_device_gang2(lv_ui *ui);
|
|
//2 场景开关3路
|
|
void create_device_gang3(lv_ui *ui,lv_obj_t * parent, lv_coord_t x, lv_coord_t y,lv_coord_t w, lv_coord_t h);
|
|
void events_init_device_gang3(lv_ui *ui);
|
|
//3 场景开关4路
|
|
void create_device_gang4(lv_ui *ui,lv_obj_t * parent, lv_coord_t x, lv_coord_t y,lv_coord_t w, lv_coord_t h);
|
|
void events_init_device_gang4(lv_ui *ui);
|
|
//4 场景开关6路
|
|
void create_device_gang6(lv_ui *ui,lv_obj_t * parent, lv_coord_t x, lv_coord_t y,lv_coord_t w, lv_coord_t h);
|
|
void events_init_device_gang6(lv_ui *ui);
|
|
//5 空调
|
|
void create_device_air(lv_ui *ui,lv_obj_t * parent, lv_coord_t x, lv_coord_t y,lv_coord_t w, lv_coord_t h);
|
|
void events_init_device_air(lv_ui *ui);
|
|
//6 投影仪
|
|
void create_device_projector(lv_ui *ui,lv_obj_t * parent, lv_coord_t x, lv_coord_t y,lv_coord_t w, lv_coord_t h);
|
|
void events_init_device_projector(lv_ui *ui);
|
|
|
|
//子设备界面
|
|
void events_init_gangonoff1(lv_ui *ui);
|
|
void events_init_gangonoff2(lv_ui *ui);
|
|
void events_init_gangonoff3(lv_ui *ui);
|
|
void events_init_gangonoff4(lv_ui *ui);
|
|
void events_init_gangonoff6(lv_ui *ui);
|
|
void events_init_aircontrol(lv_ui *ui);
|
|
void events_init_projectorcontrol(lv_ui *ui);
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif /* EVENT_CB_H_ */
|