-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathui_SplashScreen.c
More file actions
24 lines (19 loc) · 933 Bytes
/
ui_SplashScreen.c
File metadata and controls
24 lines (19 loc) · 933 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// This file was generated by SquareLine Studio
// SquareLine Studio version: SquareLine Studio 1.5.0
// LVGL version: 9.1.0
// Project name: SquareLine_Project
#include "ui.h"
void ui_SplashScreen_screen_init(void)
{
ui_SplashScreen = lv_obj_create(NULL);
lv_obj_remove_flag(ui_SplashScreen, LV_OBJ_FLAG_SCROLLABLE); /// Flags
ui_Image1 = lv_image_create(ui_SplashScreen);
lv_image_set_src(ui_Image1, &ui_img_homeremotelogo_90px_png);
lv_obj_set_width(ui_Image1, LV_SIZE_CONTENT); /// 1
lv_obj_set_height(ui_Image1, LV_SIZE_CONTENT); /// 1
lv_obj_set_align(ui_Image1, LV_ALIGN_CENTER);
lv_obj_add_flag(ui_Image1, LV_OBJ_FLAG_CLICKABLE); /// Flags
lv_obj_remove_flag(ui_Image1, LV_OBJ_FLAG_SCROLLABLE); /// Flags
lv_obj_add_event_cb(ui_Image1, ui_event_Image1, LV_EVENT_ALL, NULL);
lv_obj_add_event_cb(ui_SplashScreen, ui_event_SplashScreen, LV_EVENT_ALL, NULL);
}