39

The 1st embedded UI framework run in Docker Container

 5 years ago
source link: https://www.tuicool.com/articles/hit/7fUFbev
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.

GuiLite Samples - It's you make UI beautiful, not UI framework!

中文

  • GuiLite samples contain 8 cross-platform projects. They all based on GuiLite . They could show you how to use GuiLite's interface, and how GuiLite works on iOS, Android, GNU/Linux, Windows and macOS platform.
  • GuiLite samples are easy to compile & run. With the help of community, the passing rate of compiling is near 100%.
  • GuiLite samples could run in Docker container with single command below:
    sudo docker run -it --privileged -v /dev:/dev-share idea4good/gui-lite:0.3 bash /run.sh
    sudo docker run -it --privileged -v /dev:/dev-share idea4good/gui-lite-armhf:0.2 bash /run.sh
    

MCU demos: Hello Mario + Hello Particle + Hello Wave

qyiAvye.gifvUZ3Qra.gifnAbMzyN.gif

  • MCU Hardware: STM32F103ZET6(512K ROM, 64K RAM) + 240*320 16bits color TFT LCD
  • MCU Software: No OS, Only GuiLite
  • Hello Mario has 100+ lines code , showing you how to develop a multi-layer UI system.
  • Hello Particle has 100- lines code , showing you how to develop a particle system.
  • Hello Wave has 100+ lines code , showing you how to use wave widget.
  • How to porting for any MCU?
  • Also support: Windows & Linux

Hello Animation

FzMjI3Y.gif

Hello Animation has only 100+ lines code for beginner, showing you how to making animation. You can run it on Windows and also Linux.

Hello Slide

2IVvqan.gif

Hello Slide has only 100+ lines code . It shows beginner how to make sliding UI. You can run it on Windows and also Linux.

Hello Font

3e63InF.gif

Hello Font has only 100+ lines code .It shows beginner how to use multi-language feature(UTF-8). You can run it on Windows and also Linux.

Hello GuiLite

yMVZ3aU.gif

Hello GuiLite has only 100+ lines code . It shows beginner how to initialize GuiLite, layout UI widgets, and map messages. You can run it on Windows and also Linux.

Host Monitor

On Mac & iOS:

yEfYBf2.gifAjIFraf.gif

On Android & ARM Linux embedded:

z6FNZje.gifJbuIjuZ.gif

On Windows Mixed Reality:

iy6ryeu.gif

Host Monitor has 2,000 lines of code related to UI, showing you how to make UI layout , and customize/extend your UI widgets.

Code Description

  • HostMonitor\SampleCode\source\ui_tree: UI Layout
  • HostMonitor\SampleCode\source\ui_ctrl_ex: Customize your widgets

Cross platform

  • HostMonitor\BuildAndroid: Java code, for Android
  • HostMonitor\BuildIOS: Swift code, for iOS
  • HostMonitor\BuildLinux: C code, for Linux
  • HostMonitor\BuildWin32: C code, for Windows command mode
  • HostMonitor\BuildUWP: CX code, for UWP(include Mixed/Virtual Reality)
  • HostMonitor\BuildMacCmd: Swift code, for Mac command mode
  • HostMonitor\BuildMacCocoa: Swift code, for Mac APP with UI

Build "host monitor"

UART on Android phone

Download Android APP

Suggestions

Looks complex? Trust me that you can do everything we did because we are the same.

  • Dare to build it
  • Dare to make your own modification
  • Dare to create your UI framework

Repository Mirror

Gitee in China

Thanks

Thanks the help from QQ group, you guys make GuiLite better! And we welcome you to join us.

jy63yiE.jpg!web


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK