基本信息
源码名称:Littlevgl移植到STM32F4
源码大小:37.54M
文件格式:.zip
开发语言:C/C++
更新时间:2020-11-22
   友情提示:(无需注册或充值,赞助后即可获取资源下载链接)

     嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300

本次赞助数额为: 2 元 
   源码介绍


#include "gui_app.h"
#include "login_win.h"

//
void gui_app_start()
{
//
//
lv_theme_t * theme = lv_theme_night_init(210,NULL);
lv_theme_set_current(theme);
//
login_win_create(lv_scr_act());
}

//
//
//
void toast(const char * msg,uint16_t time)
{
lv_obj_t * parent = lv_scr_act();
lv_obj_t * mbox = lv_mbox_create(parent,NULL);
lv_obj_set_width(mbox,lv_obj_get_width(parent)*0.7f);//
lv_label_set_recolor(((lv_mbox_ext_t*)lv_obj_get_ext_attr(mbox))->text,true);//
lv_mbox_set_text(mbox,msg);//
lv_obj_align(mbox,NULL,LV_ALIGN_IN_TOP_MID,0,30);//
lv_mbox_start_auto_close(mbox,time);//

}


【源码目录】

41.综合例程

├── 代码
│   ├── template(MiniSTM32开发板).zip
│   ├── template(阿波罗F429开发板).zip
│   ├── template(北极星F750开发板).zip
│   ├── template(阿波罗F767开发板).zip
│   ├── template(阿波罗H743开发板).zip
│   ├── template(北极星H750开发板).zip
│   ├── template(战舰开发板).zip
│   ├── template(精英开发板).zip
│   └── template(探索者开发板).zip
├── 视频
└── 资料
    ├── chart_img.png
    ├── date_img.png
    ├── gauge_img.png
    ├── heiti.ttf
    ├── logo_img.png
    ├── progress_img.png
    └── weixin_img.png
3 directories, 16 files