- GuiLite is a barebone UI framework with 5000 lines of C++ code, could run on all platforms(e.g, iOS, Android, Linux, Windows, macOS and Docker container).
- GuiLite is embeddable, could work inside other UI framework(e.g, Qt, MFC, Winform, Cocoa). You could get GuiLite feature and host UI feature simultaneously.
- GuiLite render UI by itself, independent of OS & Grphic library.
- GuiLite could work with many languages(e.g. Swift, Java, C#, Golang).
⚠️ We never encourage people accept GuiLite totally, but want people customize it.- ⚙️We hope GuiLite is small enough to help you understand how UI work.
- 👑You should be the master of your UI, not any UI library (including GuiLite).
In order to show how GuiLite work with Golang, we add BuildGo for HostMonitor
ARM Linux | STM32 Without OS |
---|---|
![]() |
![]() ![]() |
Windows Mixed Reality | Android |
---|---|
![]() |
![]() |
macOS | iOS |
---|---|
![]() |
![]() |
We build GuiLite demo as docker image, you can update/deploy/run the latest GuiLite demo on your device with single command below:
sudo docker run -it --privileged -v /dev:/dev-share idea4good/gui-lite:latest bash /run.sh
GuiLite is only a framework, could not create UI by itself. In order to show how to build UI App with it, We provide some samples for you.
- Sample code here.
- Sample introduction:
Sample name | Platform | Description | Build guidance | Diffculty level |
---|---|---|---|---|
HelloParticle | Windows, Linux, STM32F103, STM32F429 | Show how to develop particle system | Build | ★ |
HelloGuiLite | Windows, Linux | Show how to Initialize UI, load resource, layout UI | Build | ★★ |
HelloMario | Windows, Linux, STM32F103, STM32F429 | Show how to develop multi-layer UI system | Build | ★★ |
HelloFont | Windows, Linux | Show how to use multi-language feature(UTF-8) | Build | ★★ |
HelloAnimation | Windows, Linux | Show how to make animation | Build | ★★ |
HelloSlide | Windows, Linux | Show how to use sliding pages | Build | ★★★ |
HelloWave | Windows, Linux, STM32F103, STM32F429 | Show how to use wave widget | Build | ★★★ |
HostMonitor | iOS, Mac, Android, Windows, Linux | Show how to build complex UI for all platforms | Build | ★★★★ |
- How to build?
- How GuiLite work?
- How to Layout widgets?
- How to build unicode font/bitmap resource?
- How to switch theme?
- How to dispatch messages?
- UML chart of GuiLite core
- Build/Run GuiLite library
- Build/Run HelloXXX demos
- Read/Modify
HelloXXX/UIcode/UIcode.cpp
code - Read/Modify
gui
code - Read/Modify
core
code - Build your UI framework
- Thanks the help from QQ group, you guys make GuiLite better! And welcome new friend to join us.
- Thanks the donations from Gitee users, every penny of donations will be used for needy children or family of China.