sggt/LVGL/myGUI/generated/gui_guider.h

106 lines
3.6 KiB
C

/*
* Copyright 2024 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 GUI_GUIDER_H
#define GUI_GUIDER_H
#ifdef __cplusplus
extern "C" {
#endif
#include "lvgl.h"
typedef struct
{
lv_obj_t *screen_init;
bool screen_init_del;
lv_obj_t *screen_init_img_1;
lv_obj_t *screen_init_label_1;
lv_obj_t *screen_init_bar_1;
lv_obj_t *screen_main;
bool screen_main_del;
lv_obj_t *screen_main_tabview_1;
lv_obj_t *screen_main_tabview_1_tab_1;
lv_obj_t *screen_main_tabview_1_tab_2;
lv_obj_t *screen_main_tabview_1_tab_3;
lv_obj_t *screen_main_tabview_1_tab_4;
lv_obj_t *screen_main_animimg_1;
lv_obj_t *screen_main_spangroup_4;
lv_span_t *screen_main_spangroup_4_span;
lv_obj_t *screen_main_spangroup_3;
lv_span_t *screen_main_spangroup_3_span;
lv_obj_t *screen_main_spangroup_2;
lv_span_t *screen_main_spangroup_2_span;
lv_obj_t *screen_main_label_1;
lv_obj_t *screen_main_chart_1;
lv_chart_series_t *screen_main_chart_1_0;
lv_obj_t *screen_main_spangroup_1;
lv_span_t *screen_main_spangroup_1_span;
lv_obj_t *screen_setting;
bool screen_setting_del;
lv_obj_t *screen_setting_menu_1;
lv_obj_t *screen_setting_menu_1_sidebar_page;
lv_obj_t *screen_setting_menu_1_subpage_1;
lv_obj_t *screen_setting_menu_1_cont_1;
lv_obj_t *screen_setting_menu_1_label_1;
lv_obj_t *screen_setting_menu_1_subpage_2;
lv_obj_t *screen_setting_menu_1_cont_2;
lv_obj_t *screen_setting_menu_1_label_2;
lv_obj_t *screen_setting_menu_1_subpage_3;
lv_obj_t *screen_setting_menu_1_cont_3;
lv_obj_t *screen_setting_menu_1_label_3;
}lv_ui;
typedef void (*ui_setup_scr_t)(lv_ui * ui);
void ui_init_style(lv_style_t * style);
void ui_load_scr_animation(lv_ui *ui, lv_obj_t ** new_scr, bool new_scr_del, bool * old_scr_del, ui_setup_scr_t setup_scr,
lv_scr_load_anim_t anim_type, uint32_t time, uint32_t delay, bool is_clean, bool auto_del);
void ui_animation(void * var, int32_t duration, int32_t delay, int32_t start_value, int32_t end_value, lv_anim_path_cb_t path_cb,
uint16_t repeat_cnt, uint32_t repeat_delay, uint32_t playback_time, uint32_t playback_delay,
lv_anim_exec_xcb_t exec_cb, lv_anim_start_cb_t start_cb, lv_anim_ready_cb_t ready_cb, lv_anim_deleted_cb_t deleted_cb);
void init_scr_del_flag(lv_ui *ui);
void setup_ui(lv_ui *ui);
extern lv_ui guider_ui;
void setup_scr_screen_init(lv_ui *ui);
void setup_scr_screen_main(lv_ui *ui);
void setup_scr_screen_setting(lv_ui *ui);
LV_IMG_DECLARE(_logo_alpha_188x80);
#include "extra/widgets/animimg/lv_animimg.h"
LV_IMG_DECLARE(screen_main_animimg_1bt0);
LV_IMG_DECLARE(screen_main_animimg_1bt20);
LV_IMG_DECLARE(screen_main_animimg_1bt40);
LV_IMG_DECLARE(screen_main_animimg_1bt60);
LV_IMG_DECLARE(screen_main_animimg_1bt80);
LV_IMG_DECLARE(screen_main_animimg_1bt100);
LV_FONT_DECLARE(lv_font_montserratMedium_26)
LV_FONT_DECLARE(lv_font_montserratMedium_16)
LV_FONT_DECLARE(lv_font_SourceHanSerifSC_Regular_16)
LV_FONT_DECLARE(lv_font_SourceHanSerifSC_Regular_12)
LV_FONT_DECLARE(lv_font_SourceHanSerifSC_Regular_24)
LV_FONT_DECLARE(lv_font_montserratMedium_24)
LV_FONT_DECLARE(lv_font_montserratMedium_12)
LV_FONT_DECLARE(lv_font_montserratMedium_20)
#ifdef __cplusplus
}
#endif
#endif