57

GitHub - idea4good/GuiLite: ✔️The smallest UI framework for all platform -- 5K l...

 5 years ago
source link: https://github.com/idea4good/GuiLite
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

GuiLite - The smallest UI framework


What is GuiLite?

  • GuiLite has 5000 lines of C++ code, providing UI framework for all platforms, could run on iOS, Android, GNU/Linux, Windows, macOS and all ARM Linux IOT platforms.
  • GuiLite is OS independent, even could run on any kind of MCU without OS.
  • GuiLite is a embedded UI framework. It can work with Qt/MFC/UWP/XCode, which means you can get not only GuiLite features but also iOS/Android/macOS/Qt/MFC/UWP features as well.
  • GuiLite can work with other languages(e.g. Swift, Java, C#).

⚠️We never encourage any people use GuiLite, but hope people understand UI itself. We hope GuiLite is small enough to help you understand how UI framework work, and build unique UI for yourself. We believe you're the only person understand your UI, not any UI libraries.

New feature: Demo on MCU -- HelloWave + HelloParticle

HelloWave        HelloParticle

  • MCU Hardware: STM32F103ZET6(512K ROM, 64K RAM) + 240*320 16bits color TFT LCD
  • MCU Software: None OS + GuiLite
  • Hello Wave has only 100+ lines code! Check the code. Showing you how to use wave widget.
  • Hello Particle has only 100- lines code! Check the code. Showing you how to develop particle system.
  • How to porting on any MCU in 5 minutes?
  • Still support: Windows & Linux

Features

Cross platform

Ran on macOS & iOS:

macOS iOS

Ran on Android & GNU/Linux embedded (ARM):

Android GNU/Linux embedded (ARM)

Ran on Windows Mixed Reality & MCU:

Win MR MCU

Unicode & Bitmap

Wallpaper with bitmap:

wallpaper

Multi language:

unicode

How to build unicode font/bitmap resource?

Multi theme

multi-theme

How to switch theme?

Self monitor

Report build activities to cloud:

BuildInfo

Sync local data to cloud:

DataOnCloud

Demo

GuiLite just a framework, it could not create UI by itself. In order to show how to build UI App with it, We provide some samples for your reference.

  • Click here to preview UI effect.
  • Sample code discription:
Sample name Platform Discription Build code level HelloGuiLite Windows, Linux Show how to Initilize UI, load resource, layout UI Build Beginner HelloFont Windows, Linux Show how to use muti languages(UTF-8) Build Beginner HelloAnimation Windows, Linux Show how to make animation Build Beginner HelloParticle Windows, Linux, STM32F103, STM32F429 Show how to develop particle system Build Beginner HelloSlide Windows, Linux Show how to use sliding pages Build Intermediate HelloWave Windows, Linux, STM32F103, STM32F429 Show how to use wave widget Build Intermediate HostMonitor iOS, Mac, Android, Windows, Linux Show how to build complex UI for all platforms Build Master

Documents

How to learn?

  1. Beginner - Build/Run GuiLite library
  2. Beginner - Build/Run HelloXXX demos
  3. Intermediate - Read/Modify HelloXXX/UIcode/UIcode.cpp code
  4. Intermediate - Read/Modify gui code
  5. Master - Read/Modify core code
  6. Master - Build your UI framework

Videos

Gitee link

Link to Gitee in China

Thanks

Thanks the help from QQ group, you guys make GuiLite better! and welcome new friend to join us.

QQ group: 527251257

Thanks the donations from Gitee users, every penny of donations will be used for needy children or family of China.

Donators


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK