# Welcome to GuiLite
<p align="center">
<img src="documents/logo.png" alt="Logo"/>
</p>
<p align="center">
<img src="https://img.shields.io/badge/build-passing-brightgreen.svg">
<img src="https://img.shields.io/badge/platform-Windows%20%7C%20Linux%20%7C%20macOS%20%7C%20iOS%20%7C%20Android%20%7C%20MCU-brightgreen.svg">
<img src="https://img.shields.io/badge/architecture-amd64%20%7C%20arm%20%7C%20arm64-blue.svg">
<img src="https://img.shields.io/badge/license-Apache%202-blue.svg">
</p>
<p align="center">The smallest header-only GUI library (4 KLOC) for all platforms.</p>
<p align="center">
<img src="documents/WhyGuiLite.png" alt="Why GuiLite"/>
</p>
- [ä¸æ](README_zh.md)
## Lightweight
- âï¸Small: 4,000+ lines of C++ code, zero dependency, header-only(GuiLite.h)
- â¡Fast: High Rendering performance, even work on MCU
- ð«ð»Compatible: Work smoothly with 3rd party frameworks(Qt/MFC/Winform/Cocoa/Web)
- âï¸ï¸Hardware Minimum Requirements:
| Processor | Disk/ROM space | Memory |
| --- | --- | --- |
| 24 MHZ | 29 KB | 9 KB |
## Cross platform
- Supported OSes: iOS/macOS/WathOS, Android, Linux, Windows, RTOS... or **MCU without OS**
- Supported languages: C/C++, Swift, Java, Javascript, C#, Golang...
- Supported 3rd party libraries: Qt, MFC, Winforms, CoCoa...
## Useful features
- ð£Multi-language, supports UTF-8;ðPlayback Video
- ð¨[Toolkit](https://github.com/idea4good/GuiLiteToolkit) for building font/image resources
- ð[Layout GUI WYSIWYG](https://github.com/idea4good/GuiLitePreviewer)
- âï¸Cloud + IoT Solution
- ðCode Telemetry and Analysis in real time(*remove .sh/.bat files if dislike to share*)
- ð¦Supports 3D and [Web](https://github.com/idea4good/GuiLiteWeb)
- ðRun in docker with a single command: `sudo docker run -it --privileged -v /dev:/dev-share idea4good/gui-lite:latest bash /run.sh`
## Easy to learn and support
Even a C beginner could master GuiLite quickly. The source code only uses basic C++ features (class, virtual function). We chose C++ as it could make the code size significantly smaller and easier to read.
- ðDocumentation
- [How to use GuiLite?](documents/HowToUse.md)
- [Design specification](documents/HowToWork.md)
- [How to Layout widgets?](documents/HowLayoutWork.md)
- [How to build unicode font/bitmap resource?](https://github.com/idea4good/GuiLiteToolkit)
- [How to switch theme?](https://github.com/idea4good/GuiLiteSamples/blob/master/HostMonitor/UIcode/source/resource/resource.cpp)
- [How to dispatch messages?](documents/HowMessageWork.md)
- [UML chart of GuiLite core](documents/UML.md)
- ðLearning steps
1. Build GuiLite library
2. Build/Debug HelloXXX demos
3. Read/Modify `HelloXXX/UIcode/UIcode.cpp` code
4. Read/Modify `widgets` code
5. Read/Modify `core` code
6. Build your GUI framework
- ð[Reach out us](#community-channel) if you have any questions you are welcomed to our developer family.
- ðï¸[Mirror repository in China](https://gitee.com/idea4good/GuiLite)
## Demo wall
- Zero dependency, 100% build pass & runnable
- Click the demo you like, and run it on your hardware
<table>
<tr>
<td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/Hello3D"><img src="documents/Hello3D.gif" width="200px;"/><br /><sub><b>3D on STM32</b></sub></a>
<td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloWave"><img src="documents/HelloWave.gif" width="200px;"/><br /><sub><b>Wave on STM32</b></sub></a>
<td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloParticle"><img src="documents/HelloParticle.gif" width="200px;"/><br /><sub><b>Particle on STM32</b></sub></a>
<td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloStar"><img src="documents/HelloStar.gif" width="200px;"/><br /><sub><b>Star on STM32</b></sub></a>
</tr>
<tr>
<td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/Hello3Dwave"><img src="documents/Hello3Dwave.gif" width="200px;"/><br /><sub><b>3D wave on STM32</b></sub></a>
<td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloNoTouch"><img src="documents/HelloNoTouch.gif" width="200px;"/><br /><sub><b>Keyboard on STM32</b></sub></a>
<td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloMario"><img src="documents/HelloMario.gif" width="200px;"/><br /><sub><b>Mario on STM32</b></sub></a>
<td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloCircle"><img src="documents/HelloCircle.gif" width="200px;"/><br /><sub><b>3D circle on STM32</b></sub></a>
</tr>
<tr>
<td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/Hello3Ddonut"><img src="documents/Hello3Ddonut.gif" width="200px;"/><br /><sub><b>3D donut on STM32</b></sub></a>
<td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloTimer"><img src="documents/HelloTimer.gif" width="200px;"/><br /><sub><b>Timer</b></sub></a>
<td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloMolecule"><img src="documents/HelloMolecule.gif" width="200px;"/><br /><sub><b>Molecule move</b></sub></a>
<td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloPendulum"><img src="documents/HelloPendulum.gif" width="200px;"/><br /><sub><b>Pendulum effect</b></sub></a>
</tr>
<tr>
<td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/Hello3D"><img src="documents/iWatch.hello3D.gif" width="200px;"/><br /><sub><b>3D on Apple Watch</b></sub></a>
<td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloWave"><img src="documents/iWatch.helloWave.gif" width="200px;"/><br /><sub><b>Wave on Apple Watch</b></sub></a>
<td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloParticle"><img src="documents/iOS.particle.gif" width="200px;"/><br /><sub><b>Particle on iPhone</b></sub></a>
<td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HostMonitor"><img src="documents/iOS.gif" width="200px;"/><br /><sub><b>HostMonitor on iPhone</b></sub></a>
</tr>
</table>
<table>
<tr>
<td align="center"><a href="https://github.com/idea4good/GuiLitePreviewer"><img src="documents/Previewer.gif" width="600px;"/><br /><sub><b>Layout GUI</b></sub></a>
<td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloGuiLite"><img src="documents/HelloGuiLite.gif" width="600px;"/><br /><sub><b>Run Windows on Linux</b></sub></a>
</tr>
<tr>
<td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloFont"><img src="documents/HelloFont.gif" width="600px;"/><br /><sub><b>Multi-language</b></sub></a>
<td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HostMonitor"><img src="documents/BuildInfo.png" width="600px;"/><br /><sub><b>Code Telemetry & Analysis in real time</b></sub></a>
</tr>
<tr>
<td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HostMonitor"><img src="documents/data_on_cloud.png" width="600px;"/><br /><sub><b>Monitor IoT device on cloud</b></sub></a>
<td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloAzureIoT"><img src="documents/HelloAzureIoT.jpg" width="600px;"/><br /><sub><b>Track IoT device over the world</b></sub></a>
</tr>
<tr>
<td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloScroll"><img src="documents/HelloScroll.gif" width="600px;"/><br /><sub><b>Scroll widget</b></sub></a>
<td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloFFmpeg"><img
没有合适的资源?快使用搜索试试~ 我知道了~
一个准系统GUI框架,它可以在所有平台上运行(Windows,macOS,Docker和带或不带OS的MCU).zip
共121个文件
gif:33个
cpp:19个
h:19个
需积分: 0 0 下载量 136 浏览量
2024-01-10
14:52:08
上传
评论
收藏 29.37MB ZIP 举报
温馨提示
GuiLite是一个具有5000行C++代码的准系统GUI框架,它可以在所有平台上运行(例如,iOS,Android,Linux,Windows,macOS,Docker和带或不带OS的MCU)。GuiLite是可嵌入的,它在其他UI框架内运行例如,Qt,MFC,Winform.zip
资源推荐
资源详情
资源评论
收起资源包目录
一个准系统GUI框架,它可以在所有平台上运行(Windows,macOS,Docker和带或不带OS的MCU).zip (121个子文件)
gradlew.bat 3KB
sync_build.bat 2KB
api_linux.cpp 8KB
api_win.cpp 8KB
keyboard.cpp 4KB
api_unknow.cpp 2KB
theme.cpp 217B
dialog.cpp 123B
edit.cpp 97B
slide_group.cpp 44B
wave_buffer.cpp 44B
wave_ctrl.cpp 42B
list_box.cpp 41B
spinbox.cpp 40B
button.cpp 39B
label.cpp 38B
table.cpp 38B
display.cpp 37B
bitmap.cpp 36B
word.cpp 35B
wnd.cpp 33B
GuiLite.vcxproj.filters 2KB
Linux.gif 3.21MB
WinMR.gif 2.14MB
GuiLiteCube.gif 2MB
Mac.gif 1.63MB
Android.gif 1.09MB
GuiLite3D.gif 1005KB
iOS.gif 999KB
HelloScroll.gif 994KB
Previewer.gif 973KB
HelloNets-pc.gif 956KB
Hello3Dwave.gif 937KB
HostMonitor.gif 926KB
Hello3D.gif 918KB
HelloWave.gif 917KB
HelloGuiLite.gif 903KB
HelloParticle.gif 875KB
HelloTransparent.gif 853KB
Hello3Ddonut.gif 816KB
HelloNets-mcu.gif 643KB
HelloMolecule.gif 588KB
HelloFont.gif 523KB
HelloSlide.gif 508KB
iOS.particle.gif 506KB
iWatch.hello3D.gif 502KB
HelloPendulum.gif 396KB
HelloStar.gif 360KB
HelloCircle.gif 307KB
HelloWidgets.gif 243KB
iWatch.helloWave.gif 206KB
HelloTimer.gif 191KB
GuiLiteGraphic.gif 190KB
HelloMario.gif 153KB
HelloNoTouch.gif 75KB
.gitattributes 154B
.gitignore 408B
.gitignore 176B
build.gradle 917B
settings.gradle 29B
gradlew 6KB
GuiLite.h 112KB
display.h 18KB
wnd.h 10KB
word.h 8KB
slide_group.h 7KB
wave_ctrl.h 7KB
list_box.h 6KB
keyboard.h 6KB
edit.h 6KB
api.h 3KB
bitmap.h 3KB
spinbox.h 3KB
wave_buffer.h 3KB
table.h 3KB
dialog.h 3KB
button.h 2KB
theme.h 2KB
label.h 880B
resource.h 473B
gradle-wrapper.jar 57KB
vs-configure.jpg 80KB
HelloAzureIoT.jpg 73KB
unicode.jpg 72KB
qq.group-3.jpg 46KB
qq.group-2.jpg 44KB
qq.group-1.jpg 44KB
HelloFFmpeg.jpg 40KB
LICENSE 11KB
HowToWork-cn.md 14KB
README_zh.md 12KB
README.md 11KB
HowToWork.md 6KB
HowToUse.md 2KB
README.md 852B
HowLayoutWork.md 341B
HowMessageWork.md 307B
UML.md 100B
WhyGuiLite.png 830KB
WhyGuiLite-cn.png 825KB
共 121 条
- 1
- 2
资源评论
白话Learning
- 粉丝: 4584
- 资源: 2968
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功