Skip to content
forked from dflemstr/emui

An embedded user interface toolkit for Rust

Notifications You must be signed in to change notification settings

adamnemecek/emui

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

emui

A lightweight embedded user interface toolkit.

Features

  • Built on top of embedded-graphics.
  • Uses a flexbox layout engine (stretch) so advanced layouts are possible, e.g. that are responsive to screen resolution.
  • Very low memory footprint.
  • No dynamic dispatch; all code is inlinable and resulting code size is tiny.
  • No allocator needed.
  • Supports basic themeing.

Examples

All of the following examples run the same business logic but with different displays/themes. The code is in the kitchen_sink file.

You can run them yourself with one of:

# monochrome example
$ cargo run --example kitchen_sink --release monochrome
# RGB example
$ cargo run --example kitchen_sink --release rgb

Monochrome

monochrome

RGB

rgb

Responsive layout

This is still running exactly the same code as above, just with a different display size.

responsive

About

An embedded user interface toolkit for Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%