您尚未登录。

楼主 #1 2017-09-07 16:29:19

admin
管理员
注册时间: 2017-09-06
已发帖子: 20
积分: 20

发现一个轻量级UI, 移植到 STM32/STM8 不错 ----- µGUI/uGUI

离线

楼主 #2 2017-09-07 16:29:38

admin
管理员
注册时间: 2017-09-06
已发帖子: 20
积分: 20

Re: 发现一个轻量级UI, 移植到 STM32/STM8 不错 ----- µGUI/uGUI

Introduction

What is µGUI?

µGUI is a free and open source graphic library for embedded systems. It is platform-independent and can be easily ported to almost any microcontroller system. As long as the display is capable of showing graphics, µGUI is not restricted to a certain display technology. Therefore, display technologies such as LCD, TFT, E-Paper, LED or OLED are supported. The whole module consists of three files: ugui.c, ugui.h and ugui_config.h.

µGUI Features

  • µGUI supports any color, grayscale or monochrome display

  • µGUI supports any display resolution

  • µGUI supports multiple different displays

  • µGUI supports any touch screen technology (e.g. AR, PCAP)

  • µGUI supports windows and objects (e.g. button, textbox)

  • µGUI supports platform-specific hardware acceleration

  • 16 different fonts available

  • cyrillic fonts supported

  • TrueType font converter available (https://github.com/AriZuu)

  • integrated and free scalable system console

  • basic geometric functions (e.g. line, circle, frame etc.)

  • can be easily ported to almost any microcontroller system

  • no risky dynamic memory allocation required

µGUI Requirements

µGUI is platform-independent, so there is no need to use a certain embedded system. In order to use µGUI, only two requirements are necessary:

a C-function which is able to control pixels of the target display.
integer types for the target platform have to be adjusted in ugui_config.h.

离线

楼主 #3 2017-09-07 16:33:54

admin
管理员
注册时间: 2017-09-06
已发帖子: 20
积分: 20

Re: 发现一个轻量级UI, 移植到 STM32/STM8 不错 ----- µGUI/uGUI

那么小的µGUI, 居然还支持 TrueType Font (ttf字体)

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn