㊙4千行,仅头文件,全平台 GUI库;适用于:物联网、嵌入式、单片机、桌面应用。
|
2019-05-23 12:21:16 +08:00 |
core
|
更新 api.h
|
2019-05-11 12:41:49 +08:00 |
doc
|
update howtowork.md
|
2019-05-14 06:25:53 +08:00 |
widgets
|
fix code issue
|
2019-05-17 17:11:47 +08:00 |
.gitignore
|
!16 separate surface from c_wnd, merge core, gui into GuiLite
|
2019-04-08 13:17:46 +08:00 |
.sync.sh
|
Refactor message, display, resource, readme
|
2018-12-11 14:30:09 +08:00 |
CMakeLists.txt
|
!16 separate surface from c_wnd, merge core, gui into GuiLite
|
2019-04-08 13:17:46 +08:00 |
GuiLite.sln
|
!16 separate surface from c_wnd, merge core, gui into GuiLite
|
2019-04-08 13:17:46 +08:00 |
GuiLite.uvprojx
|
!16 separate surface from c_wnd, merge core, gui into GuiLite
|
2019-04-08 13:17:46 +08:00 |
GuiLite.vcxproj
|
fix win build break
|
2019-04-23 10:45:16 +08:00 |
GuiLite.vcxproj.filters
|
fix win build break
|
2019-04-23 10:45:16 +08:00 |
GuiLite.vcxproj.user
|
!16 separate surface from c_wnd, merge core, gui into GuiLite
|
2019-04-08 13:17:46 +08:00 |
LICENSE
|
Initial commit
|
2017-12-06 21:35:23 +08:00 |
README.md
|
Update README.md
|
2019-05-23 12:21:16 +08:00 |
sync_build.bat
|
refactor display, surface; get_frame_buffer will return NULL if no UI update
|
2018-12-17 15:51:00 +08:00 |
GuiLite - 最轻量/最易懂/最稳定的GUI库

GuiLite是什么鬼?
- GuiLite(超轻量UI框架)是5千行代码的全平台UI框架,可以完美运行在iOS,Android,Linux(ARM/x86-64),Windows(包含VR),Mac,Docker和有(无)操作系统的MCU上。
- GuiLite可以嵌入在iOS、Android、MFC、QT等其他UI系统中,让你的界面集百家之长,又不失个性。
- GuiLite与操作系统及第三方图形库无关,甚至也可以运行在无OS的单片机环境。
- GuiLite鼓励混合编程,开发者可以用GuiLite接管UI部分,用Swift,Java,Golang,C#,Python开发业务部分。
- 🔧不鼓励大家全盘接受GuiLite,更愿意大家自主定制GuiLite
- ⚙️希望GuiLite小到足够帮助大家掌握UI工作原理,从而摆脱UI框架的束缚,构建自己独一无二的UI
- 👑任何UI框架都不为你我而生,你才是自己真正的主人
🔥新功能:星空效果

- Hello Star 仅有100+行代码,用于向开发者展示:如何使用GuiLite开发“星空”效果。
- 支持:MCU / Windows / Linux
功能介绍
卓越的跨平台能力
ARM Linux |
STM32 Without OS |
 |
 |
Windows Mixed Reality |
Android |
 |
 |
macOS |
iOS |
 |
 |
支持Docker容器
我们把GuiLite demo做成了Docker映像,只需一行命令,就可以将最新的GuiLite demo升级/部署/运行在你的设备上了。
sudo docker run -it --privileged -v /dev:/dev-share idea4good/gui-lite:latest bash /run.sh
易于定制界面

万国语(unicode):

“换肤”功能

IoT(物联网)功能
- 上报“编译/运行”情况至“云端”:

- 同步“运行数据”至“云端”:

快速上手
GuiLite只是一个框架,本身并不能生成UI。为了能够展示如何用GuiLite开发App,我们提供了一些实例程序给大家参考。
实例名称 |
支持的平台 |
功能简介 |
编译方法 |
难度 |
HelloParticle |
Windows, Linux, STM32F103, STM32F429 |
粒子效果的应用 |
编译/运行 |
★ |
HelloStar |
Windows, Linux, STM32F103, STM32F429 |
星空效果的应用 |
编译/运行 |
★ |
HelloGuiLite |
Windows, Linux |
初始化GuiLite,加载资源,布局界面元素,按钮响应 |
编译/运行 |
★★ |
HelloMario |
Windows, Linux, STM32F103, STM32F429 |
多图层的UI系统 |
编译/运行 |
★★ |
HelloNavigation |
Windows, Linux, STM32F103, STM32F429 |
用于非触摸屏场景,通过硬按键进行UI“导航” |
编译/运行 |
★★ |
HelloFont |
Windows, Linux |
显示多种语言(不限:中、英文) |
编译/运行 |
★★ |
HelloAnimation |
Windows, Linux |
动画的应用 |
编译/运行 |
★★ |
HelloSlide |
Windows, Linux |
滑屏界面的应用 |
编译/运行 |
★★★ |
HelloWave |
Windows, Linux, STM32F103, STM32F429 |
波形控件的应用,及单片机移植办法 |
编译/运行 |
★★★ |
HostMonitor |
iOS, Mac, Android, Windows, Linux |
创建复杂界面,扩展自定义控件,适配全平台 |
编译/运行 |
★★★★ |
开发文档
学习方法
- 外围 - 成功编译GuiLite库
- 前戏 - 成功运行HelloXXX实例程序
- 交流 - 研读/修改100+行的
HelloXXX/UIcode/UIcode.cpp
源代码
- 深交 - 研读
gui
目录下的代码
- 攻核 - 研读
core
目录下的代码
- 分家 - 丰富,扩展自己的UI功能
视频链接:
镜像代码仓库
GitHub链接
致谢
- 感谢开发者群的所有同学,是你们塑造了今天的GuiLite!也欢迎新的大神/小白加入我们。

- 感谢来自码云用户的捐赠,您的每一分钱都会用来帮助急需帮助的中国儿童或家庭。