mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-18 01:58:56 +00:00
lvgl ui support AiUIBuilder
This commit is contained in:
17
packages/artinchip/lvgl-ui/aic_demo/ui_builder/ui_init.c
Normal file
17
packages/artinchip/lvgl-ui/aic_demo/ui_builder/ui_init.c
Normal file
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* Copyright (C) 2024 ArtInChip Technology Co., Ltd.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
* Authors: ArtInChip
|
||||
*/
|
||||
|
||||
|
||||
#include "ui_init.h"
|
||||
|
||||
void ui_init(void)
|
||||
{
|
||||
lv_obj_t * label = lv_label_create(lv_scr_act());
|
||||
lv_label_set_text(label, "You can replace this code with the code generated by AiUIBuilder!");
|
||||
lv_obj_center(label);
|
||||
}
|
||||
Reference in New Issue
Block a user