All Projects → zlgopen → Awtk

zlgopen / Awtk

Licence: lgpl-2.1
AWTK = Toolkit AnyWhere(为嵌入式、手机和PC打造的通用GUI系统)

Programming Languages

c
50402 projects - #5 most used programming language
C++
36643 projects - #6 most used programming language
ReScript
86 projects
SourcePawn
201 projects
assembly
5116 projects
objective c
16641 projects - #2 most used programming language

Projects that are alternatives of or similar to Awtk

Guilite
✔️The smallest header-only GUI library(4 KLOC) for all platforms
Stars: ✭ 5,841 (+150.9%)
Mutual labels:  gui, embedded
X11ui
Simple UI framework using github.com/BurntSushi/xgbutil package using Go.
Stars: ✭ 18 (-99.23%)
Mutual labels:  gui, embedded
Lvgl
Powerful and easy-to-use embedded GUI library with many widgets, advanced visual effects (opacity, antialiasing, animations) and low memory requirements (16K RAM, 64K Flash).
Stars: ✭ 8,172 (+251.03%)
Mutual labels:  gui, embedded
Teenyusb
Lightweight USB device and host stack for STM32 and other MCUs.
Stars: ✭ 287 (-87.67%)
Mutual labels:  stm32, embedded
Lwmem
Lightweight dynamic memory manager library for embedded systems with memory constraints. It implements malloc, calloc, realloc and free functions
Stars: ✭ 92 (-96.05%)
Mutual labels:  stm32, embedded
Guilitesamples
✨Small interesting GUI effects could be reused everywhere
Stars: ✭ 409 (-82.43%)
Mutual labels:  gui, embedded
Awesome Embedded
A curated list of awesome embedded programming.
Stars: ✭ 831 (-64.3%)
Mutual labels:  stm32, embedded
OpenWare
Firmware for OWL devices
Stars: ✭ 23 (-99.01%)
Mutual labels:  embedded, stm32
Awesome Canbus
🚛 A curated list of awesome CAN bus tools, hardware and resources
Stars: ✭ 73 (-96.86%)
Mutual labels:  stm32, embedded
Stm32l4xx Hal
A Hardware abstraction layer for the stm32l432xx series chips written in rust.
Stars: ✭ 65 (-97.21%)
Mutual labels:  stm32, embedded
Stlink
Open source STM32 MCU programming toolset
Stars: ✭ 3,158 (+35.65%)
Mutual labels:  stm32, embedded
Simple
The Simple Intelligent and Modular Programming Language and Environment
Stars: ✭ 120 (-94.85%)
Mutual labels:  gui, embedded
STM32Keyboard
No description or website provided.
Stars: ✭ 15 (-99.36%)
Mutual labels:  embedded, stm32
Guislice
GUIslice drag & drop embedded GUI in C for touchscreen TFT on Arduino, Raspberry Pi, ARM, ESP8266 / ESP32 / M5stack using Adafruit-GFX / TFT_eSPI / UTFT / SDL
Stars: ✭ 534 (-77.06%)
Mutual labels:  gui, embedded
esm
Lightweight communicating state machine framework for embedded systems
Stars: ✭ 21 (-99.1%)
Mutual labels:  embedded, stm32
Atomvm
Tiny Erlang VM
Stars: ✭ 834 (-64.18%)
Mutual labels:  stm32, embedded
CML
Fast, safe and easy to use Cortex-M HAL Library, written in C++ 17
Stars: ✭ 17 (-99.27%)
Mutual labels:  embedded, stm32
async-stm32f1xx
Abstractions for asynchronous programming on the STM32F1xx family of microcontrollers.
Stars: ✭ 24 (-98.97%)
Mutual labels:  embedded, stm32
Robot Software
CVRA monorepo - All software running on our bots lives here
Stars: ✭ 39 (-98.32%)
Mutual labels:  stm32, embedded
Easygui
Easy GUI for microcontrollers
Stars: ✭ 116 (-95.02%)
Mutual labels:  stm32, gui

AWTK = Toolkit AnyWhere

中文用户请看这里

I. Introduction

AWTK , the abbreviation of Toolkit AnyWhere, is an open source GUI engine developed by ZLG. It is a cross-platform GUI engine for embedded systems, WEB, mini programs, mobile phones and PC. It is a powerful, efficient, reliable and easy-to-use GUI engine for users to design beautiful GUI applications.

Welcome developers to join us in our development:Joint Ecology Building Plan

AWTK has two implications as follows:

  • Toolkit AnyWhere.
  • As the built-in GUI of AWorksOS, which is the ZLG IoT operating system.

AWTK source code repositories:

AWTK Designer - the UI design tool:

  • It is no longer necessary to write XML by yourself.
  • Design the UI by dragging and dropping. What you see is what you get.
  • Support quick preview and pack resources with one-click.
  • Registration and download: https://awtk.zlg.cn

AWTK Designer

Screenshots:

Chart-Demo

MusicPlayer-Demo

Watch

II. Ultimate Objectives

  • To support development of embedded applications.
  • To support development of Linux applications.
  • To support development of MacOS applications.
  • To support development of Windows applications.
  • To support development of Web applications.
  • To support development of Android applications.
  • To support development of iOS applications.
  • To support development of WeChat mini programs.
  • To support development of AliPay mini programs.
  • To support development of Baidu mini programs.
  • To support development of 2D mini games.

III. Main Features

1. Cross-platform

AWTK is a cross-platform GUI engine , which has two meanings as follows:

  • AWTK's code is cross-platform. At present, it is compatible with platforms such as ZLG AWorksOS, Windows, Linux, MacOS, embedded Linux, Android, iOS, Web and embedded raw systems. It can be easily ported to variety of different RTOS. In the future, AWTK can be also run as mini programs.

  • In addition, AWTK has a cross-platform library of basic tools, which includes lists, arrays, strings (UTF8 and widechar), event emitters, values, objects, file system, mutex, threads, formulas and string analysis, in order that the applications you develop with AWTK can really run across platforms.

2. Efficient

AWTK ensure efficiency through the following operations:

  • Update changed parts using dirty rectangles algorithms.
  • Support 3 FrameBuffer to make the UI run at the highest frame rate (optional).
  • UI description files and theme files are stored in efficient binary formats, in order that they can be analyzed more fast.
  • Support different GPU acceleration interfaces, including OpenGL, DirectX, Vulkan and Metal and so on.
  • Support 2D acceleration interfaces of embedded platforms, such as NXP's PXP interfaces and STM32's DMA2D interfaces, user can easy to adapt to other acceleration interfaces.

3. Stable

AWTK makes codes as stable and reliable as possible in following ways:

  • Perform static checks using cppcheck and facebook infer.
  • Dynamically check memory with valgrind.
  • With approximately 20,000 lines of codes for unit testing.
  • With support from the powerful GUI team of ZLG.
  • Has been validated in multiple practical projects.
  • Has been validated by multiple platforms and compilers.
  • With excellent architecture design.
  • Code Review.
  • Manual test.

4. Powerful

  • Abundant widgets (being add more widgets).
  • Support multiple image formats (png/jpg/gif/svg).
  • Support multiple font formats (bitmap and vector fonts).
  • Support window animation function.
  • Support widget animation function.
  • Support HD screen.
  • Support UI layout description file.
  • Support UI theme file.
  • Support switch themes in runtime.
  • Support custom rule for widget layout.
  • Support custom rule for highlighting dialogs.
  • With many auxiliary tools.
  • Support different CPU from low-end (such as Cortex M3) to high-end.
  • Support no-filesystem platform and custom filesystem.
  • Support raw systems platform and RTOS.

5. Easy-to-use

  • With many demonstration codes.
  • With complete API document and user guide document.
  • With technical support from the powerful team of ZLG.
  • With the UI designer, which also developed with AWTK (https://awtk.zlg.cn).
  • Use declarative UI description language. user can enable widget animation, window animation, and image display (png/jpg/svg/gif) with one line code.

6. Customizable

  • Support extend custom widgets.
  • Support extend custom animations.
  • Support implement custom main loop.
  • Support extend custom soft keyboard.
  • Support extend custom image loader.
  • Support extend custom font loader.
  • Support extend custom input method engine.
  • Support extend custom layout algorithms for widgets.
  • Support extend custom rule for highlighting dialogs.
  • Support implement custom LCD interface.
  • Support extend custom vector engines (e.g.skia/cairo).
  • All extended and built-in widgets are treated the same.

7. Multiple Development Languages

AWTK is been developed in the C Program Language. Scripts in different languages can be generated by the IDL. The binding code generated not only simply mapping the C API to the target script language, but also with the native code styles of the target script language. At present, following languages are supported (More languages will be added):

  • C
  • Go
  • C++
  • lua
  • java
  • python
  • Javascript on jerryscript
  • Javascript on nodejs
  • Javascript on quickjs

8. Internationalization

  • Support Unicode.
  • Support input methods.
  • Support translate strings.
  • Support translate images.
  • Support text bidirectional algorithms.

9. The MVVM framework for embedded software thoroughly separate user interfaces from business logic

  • High performances.
  • Low memory usage.
  • More thorough isolation.
  • Portable to other GUI.
  • Less codes (~5,000 lines).
  • No need for learning API of AWTK.
  • Support multiple programming languages (support C/JS at present).

For details, please see https://github.com/zlgopen/awtk-mvvm

10. Open source codes are freely available for commercial purposes (LGPL)

IV. Simulation Run

Code Downloading

  • Download with git

Git under Windows

Code Downloading

git clone https://github.com/zlgopen/awtk.git

Under Windows, codes can be downloaded by git with GUI tool.

Code Updating (in the awtk directory)

git pull

The advantage of using Git is that it is very convenient to update the code later.

  • Directly download the zip file.

Download the zip file. Once unzipped, the file shall be renamed awtk.

Mac

If nodejs, scons and sdl2 aren't installed, please run the following command in the terminal (assuming that brew has been installed):

brew install scons sdl2 node

Compile and run (Enter the directory where awtk is and run the following command in the terminal):

scons
./bin/demoui

Ubuntu (version >=16)

If scons and the dependent software pack aren't installed, please run the following command in the terminal:

sudo apt-get install gcc g++ scons libsndio-dev libgtk-3-dev libglu1-mesa libglu1-mesa-dev libgl1-mesa-glx libgl1-mesa-dev libasound2-dev libibus-1.0-dev fcitx-libs-dev git vim clang-format libharfbuzz-dev nodejs libreadline-dev

Compile and run (Enter the awtk directory and run the following command in the terminal):

scons
./bin/demoui

If it can't be run in Ubuntu 14, please refer to FAQ.

Windows

Please install python (64-bit python shall be installed for a 64-bit system), scons and Visual Studio C++ (version>=2017) first.

If pywin32 isn't installed, please use pip to install:

pip install pywin32

Compile and run (Enter the awtk directory and run the following command in the terminal):

Install nodejs

scons
bin\demoui

for all platforms

If PIL isn't installed, please use pip to install:

pip install Pillow

If nodejs glob isn't installed, please use npm to install:

npm install -g glob

V. Online Demonstration

VI. Platform Porting

VII. Language Binding

VIII. Related Projects

The third party provides:

IX. Documentation

X. Joint Ecology Building Plan

   

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].