// This file was generated by SquareLine Studio // SquareLine Studio version: SquareLine Studio 1.4.2 // LVGL version: 9.1.0 // Project name: JC3248W535CIY #include "ui.h" #include "ui_helpers.h" ///////////////////// VARIABLES //////////////////// // SCREEN: ui_bootScreen void ui_bootScreen_screen_init(void); lv_obj_t *ui_bootScreen; lv_obj_t *ui_Image1; // SCREEN: ui_mainScreen void ui_mainScreen_screen_init(void); lv_obj_t *ui_mainScreen; // SCREEN: ui_unSeen void ui_unSeen_screen_init(void); lv_obj_t *ui_unSeen; lv_obj_t *ui_omgLabelContainer; lv_obj_t *ui____initial_actions0; const lv_image_dsc_t *ui_imgset_openmqttgateway_logo_mini_[1] = {&ui_img_openmqttgateway_logo_mini_512_png}; ///////////////////// TEST LVGL SETTINGS //////////////////// #if LV_COLOR_DEPTH != 16 #error "LV_COLOR_DEPTH should be 16bit to match SquareLine Studio's settings" #endif ///////////////////// ANIMATIONS //////////////////// ///////////////////// FUNCTIONS //////////////////// ///////////////////// SCREENS //////////////////// void ui_init( void ) {LV_EVENT_GET_COMP_CHILD = lv_event_register_id(); lv_disp_t *dispp = lv_display_get_default(); lv_theme_t *theme = lv_theme_default_init(dispp, lv_palette_main(LV_PALETTE_BLUE), lv_palette_main(LV_PALETTE_RED), false, LV_FONT_DEFAULT); lv_disp_set_theme(dispp, theme); ui_bootScreen_screen_init(); ui_mainScreen_screen_init(); ui_unSeen_screen_init(); ui____initial_actions0 = lv_obj_create(NULL); lv_disp_load_scr( ui_bootScreen); }