main.c
int main(int argc, char ** argv)
{
(void) argc; /*Unused*/
(void) argv; /*Unused*/
/*Initialize LittlevGL*/
lv_init();
/*Initialize the HAL (display, input devices, tick) for LittlevGL*/
hal_init();
/*Create a GUI-Guider app */
setup_ui(&guider_ui); //运行第一个screen,在编辑选中的那个screen最先启动
events_init(&guider_ui);
custom_init(&guider_ui);
gui_guider.c
void setup_ui(lv_ui *ui)
{
init_scr_del_flag(ui);
setup_scr_screen1(ui); //初始化第一个 screen,先设置ui,再执行用户自定义代码
lv_scr_load(ui->screen1); //加载第一个screen
}
setup_scr_screenX.c //screenX 初始化
void setup_scr_screenX(lv_ui *ui)
{
}
离线
GUI Guider 的 3D 动画是这个软件一帧帧生成的,
widgets_init.c
const lv_img_dsc_t * screen2_image3D_1_imgs[30] = {
&screen2_image3D_1second_needle_2000,
&screen2_image3D_1second_needle_2001,
&screen2_image3D_1second_needle_2002,
&screen2_image3D_1second_needle_2003,
&screen2_image3D_1second_needle_2004,
&screen2_image3D_1second_needle_2005,
&screen2_image3D_1second_needle_2006,
&screen2_image3D_1second_needle_2007,
&screen2_image3D_1second_needle_2008,
&screen2_image3D_1second_needle_2009,
&screen2_image3D_1second_needle_2010,
&screen2_image3D_1second_needle_2011,
&screen2_image3D_1second_needle_2012,
&screen2_image3D_1second_needle_2013,
&screen2_image3D_1second_needle_2014,
&screen2_image3D_1second_needle_2015,
&screen2_image3D_1second_needle_2016,
&screen2_image3D_1second_needle_2017,
&screen2_image3D_1second_needle_2018,
&screen2_image3D_1second_needle_2019,
&screen2_image3D_1second_needle_2020,
&screen2_image3D_1second_needle_2021,
&screen2_image3D_1second_needle_2022,
&screen2_image3D_1second_needle_2023,
&screen2_image3D_1second_needle_2024,
&screen2_image3D_1second_needle_2025,
&screen2_image3D_1second_needle_2026,
&screen2_image3D_1second_needle_2027,
&screen2_image3D_1second_needle_2028,
&screen2_image3D_1second_needle_2029,
};
离线
GUI Guider的图片控件可以随意调整图片大小,分析了生成代码,原来是编辑器先生成对应分辨率的图片,掩面泪过.gif
离线
NXP GUI Guider 控件比 squareline 丰富多了!!!
但是 GUI Guider 不能弹性布局,也不能设置对齐方式。
最近编辑记录 memory (2024-11-16 13:07:01)
离线
Ubuntu24.04 安装 Gui-Guider-Setup-1.8.1-GA.deb 失败
Ubuntu22.04 安装成功:
sudo apt-get install gconf2 gconf2-common libsdl2-* libvips42* cmake libappindicator1* libffi* -y
离线