Back to Guilite

歡迎蒞臨 GUI-lite

README_zh.md

2.111.6 KB
Original Source

歡迎蒞臨 GUI-lite

<p align="center"> </p> <p align="center"> </p> <p align="center"> 大道至簡 - 4千行/仅头文件/全平台GUI库 </p> <p align="center"> </p>

輕-快-容

  • ✂️轻量: 4千行C++代码,0依赖,单一头文件库(GuiLite.h)

  • ⚡超快: 高效渲染,单片机上也能流畅运行

  • 👫🏻兼容: 完美兼容第3方GUI框架(Qt/MFC/Winform/Cocoa/Web),现有Qt/MFC代码可以继续使用

  • ⚙️️最低硬件要求:

    ProcessorDisk/ROM spaceMemory
    24 MHZ29 KB9 KB

跨平臺

  • 支持的操作系统:iOS/macOS/WatchOS,Android,Linux(ARM/x86-64),Windows(包含VR),RTOS... 甚至无操作系统的单片机
  • 支持的开发语言: C/C++, Swift, Java, Javascript, C#, Golang...
  • 支持的第3方库:Qt, MFC, Winforms, CoCoa...

實用的功能

  • ☁️完美的“云” + “物联网”解决方案:让你轻松驾驭全球IoT业务
  • 🔣支持多语言,采用 UTF-8 编码;📀支持视频播放
  • 🔨资源制作工具为你定制自己的字体/图片资源
  • 📐所见即所得的GUI布局工具
  • 📊编译活跃度统计,及实时分析
  • 📦支持3D & Web
  • 🐋支持Docker,一条命令启动Docker: sudo docker run -it --privileged -v /dev:/dev-share idea4good/gui-lite:latest bash /run.sh

易學習和全面的技術支持

即使是C语言的初学者,也可以很快掌握GUI-lite;代码只使用C++的基本特性(类和虚函数),选择C++语言,能让代码体积更小,更易阅读。

Demo展示墻

  • 0依赖,100%编译通过,可直接运行
  • 点击你喜欢的实例,并运行在你的硬件上面
  • 大部分demo的UI代码只有100行左右,代碼庫在GuiLiteSamples

單片機平臺


<table> <tr> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/Hello3D"> <sub><b>3D on STM32</b></sub></a> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloWave"> <sub><b>Wave on STM32</b></sub></a> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloParticle"> <sub><b>Particle on STM32</b></sub></a> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloStar"> <sub><b>Star on STM32</b></sub></a> </tr> <tr> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/Hello3Dwave"> <sub><b>3D wave on STM32</b></sub></a> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloNoTouch"> <sub><b>Keyboard on STM32</b></sub></a> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloMario"> <sub><b>Mario on STM32</b></sub></a> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloCircle"> <sub><b>3D circle on STM32</b></sub></a> </tr> <tr> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/Hello3Ddonut"> <sub><b>3D donut on STM32</b></sub></a> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloTimer"> <sub><b>Timer</b></sub></a> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloMolecule"> <sub><b>Molecule move</b></sub></a> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloPendulum"> <sub><b>Pendulum effect</b></sub></a> </tr> </table>

IoT 功能


<table> <tr> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HostMonitor"> <sub><b>Monitor IoT device on cloud</b></sub></a> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HostMonitor"> <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/HelloAzureIoT"> <sub><b>Track IoT device over the world</b></sub></a> </tr> </table>

多語言,設計工具及視頻


<table> <tr> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloFont"> <sub><b>Lattice Font</b></sub></a> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloFreetype"> <sub><b>Freetype Font</b></sub></a> </tr> <tr> <td align="center"><a href="https://github.com/idea4good/GuiLitePreviewer"> <sub><b>Layout GUI</b></sub></a> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloJPG"> <sub><b>Render JPG file quickly</b></sub></a> </tr> <tr> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloFFmpeg"> <sub><b>Play video with FFmpeg</b></sub></a> </tr> </table>

UI 控件實作


<table> <tr> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloGuiLite"> <sub><b>Emulate Windows UI</b></sub></a> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloScroll"> <sub><b>Scroll widget</b></sub></a> </tr> <tr> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloWidgets"> <sub><b>How to use widgets</b></sub></a> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloNets"> <sub><b>3D Nets on Windows/Linux</b></sub></a> </tr> <tr> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloTransparent"> <sub><b>Transparent dialog</b></sub></a> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloSlide"> <sub><b>Swipe view</b></sub></a> </tr> </table>

跨平臺實作


<table> <tr> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HostMonitor"> <sub><b>HostMonitor on Windows</b></sub></a> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HostMonitor"> <sub><b>HostMonitor on Mac</b></sub></a> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HostMonitor"> <sub><b>HostMonitor on Android</b></sub></a> </tr> <tr> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HostMonitor"> <sub><b>HostMonitor on Windows Mixed Reality</b></sub></a> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HostMonitor"> <sub><b>HostMonitor on Linux</b></sub></a> <td align="center"><a href="https://github.com/idea4good/GuiLiteWeb"> <sub><b>3D on Web</b></sub></a> </tr> <tr> <td align="center"><a href="https://github.com/idea4good/GuiLiteWeb"> <sub><b>3D on Web</b></sub></a> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HostMonitor"> <sub><b>HostMonitor on iPhone</b></sub></a> <td align="center"><a href="https://github.com/idea4good/GuiLiteWeb"> <sub><b>How display work</b></sub></a> </tr> </table>

蘋果平臺


<table> <tr> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/Hello3D"> <sub><b>3D on Apple Watch</b></sub></a> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloWave"> <sub><b>Wave on Apple Watch</b></sub></a> <td align="center"><a href="https://github.com/idea4good/GuiLiteSamples/tree/master/HelloParticle"> <sub><b>Particle on iPhone</b></sub></a> </tr> </table>

📞社區交流

  • 感谢开发者群的所有同学,是你们塑造了今天的GUI-lite!也欢迎新的大神/小白加入我们。
  • 开发者QQ
<table> <tr> <td align="center"> <sub><b>開發群🔑:875721211</b></sub></a> </tr>