No description
Find a file
2019-03-11 15:59:49 +01:00
docs Nicer looking colors and sliders 2019-03-11 15:30:32 +01:00
emigui Refactor: remove GuiCmd 2019-03-11 15:59:49 +01:00
emigui_wasm Refactor: rename Frame to Mesh 2019-03-10 21:00:28 +01:00
example Refactor: remove GuiCmd 2019-03-11 15:59:49 +01:00
.gitignore No typescript. Just one index.html + wasm. 2019-01-05 22:55:09 +01:00
build.sh Minor improvements 2019-02-10 20:56:59 +01:00
build_and_run.sh Initial commit: Closed loop of TS->Rust->TS 2018-12-23 19:42:30 +01:00
Cargo.lock Update wasm 2019-03-10 21:02:00 +01:00
Cargo.toml Split example app from emigui_wasm 2019-02-09 23:00:07 +01:00
lint.sh No typescript. Just one index.html + wasm. 2019-01-05 22:55:09 +01:00
README.md Update readme 2019-03-10 21:01:07 +01:00
TODO.md Code cleanup: allow None mouse_pos + clippy fixes 2019-02-10 15:30:48 +01:00

Emigui

Experimental, Modularized Immediate mode Graphical User Interface

A GUI library written in Rust, compiled to WASM. Inspired by game tech.

How it works:

Loop:

  • Gather input: mouse, touches, screen size, ...
  • Run app code (Immediate Mode GUI)
  • Output is a triangle mesh
  • Render with WebGL

Demos

Emigui feature demo

Hobogo: A small game using Emigui

State

More of a tech demo than anything else. Features:

  • Buttons
  • Sliders
  • Text
  • Horizontal or vertical layout
  • Columns
  • Collapsible headers

Inspiration

Dear ImGui

Credits / Licenses

ProggyClean.ttf, Copyright (c) 2004, 2005 Tristan Grimmer. MIT License. http://www.proggyfonts.net/ Roboto-Regular.ttf: Apache License, Version 2.0