egui/README.md

35 lines
847 B
Markdown
Raw Normal View History

2019-03-10 20:01:07 +00:00
# Emigui
Experimental, Modularized Immediate mode Graphical User Interface
2019-03-10 20:01:07 +00:00
A GUI library written in Rust, compiled to WASM. Inspired by game tech.
2019-03-10 20:01:07 +00:00
## How it works:
2019-03-10 20:01:07 +00:00
Loop:
* Gather input: mouse, touches, screen size, ...
* Run app code (Immediate Mode GUI)
* Output is a triangle mesh
* Render with WebGL
2019-03-10 20:01:07 +00:00
## Demos
[Emigui feature demo](https://emilk.github.io/emigui/index.html)
2019-03-10 20:01:07 +00:00
[Hobogo: A small game using Emigui](https://emilk.github.io/hobogo/index.html)
2018-12-23 23:15:18 +00:00
2019-03-10 20:01:07 +00:00
## State
More of a tech demo than anything else. Features:
2018-12-23 23:15:18 +00:00
2019-03-10 20:01:07 +00:00
* Buttons
* Sliders
* Text
* Horizontal or vertical layout
* Columns
* Collapsible headers
2019-01-04 13:14:32 +00:00
2019-03-10 20:01:07 +00:00
## Inspiration
[Dear ImGui](https://github.com/ocornut/imgui)
2019-01-04 13:14:32 +00:00
2019-03-10 20:01:07 +00:00
## Credits / Licenses
2019-01-04 13:14:32 +00:00
ProggyClean.ttf, Copyright (c) 2004, 2005 Tristan Grimmer. MIT License. http://www.proggyfonts.net/
2019-01-05 20:23:53 +00:00
Roboto-Regular.ttf: Apache License, Version 2.0