emilk / emigui
- понедельник, 29 июня 2020 г. в 00:22:00
Rust
egui: Immediate mode GUI written in Rust, made for WASM
An immediate mode GUI library written in Rust. Works anywhere you can draw textured triangles.
Loop:
Wherever you can render textured triangles you can use Egui.
egui_wasm
) for making a web app. Click to run.The same application code can thus be compiled to either into a native app or a web app.
Egui feature demo, (partial) source: https://github.com/emilk/emigui/blob/master/egui/src/examples/app.rs
Hobogo: A small game using Egui, source: https://github.com/emilk/hobogo
Alpha state. It works, but is somewhat incomplete.
Features:
The one and only Dear ImGui is a great Immediate Mode GUI for C++ which works with many backends. That library revolutionized how I think about GUI code from something I hated to do to something I now like to do.
The name of the gui library is "Egui", written like that in text and as egui
in code and pronounced as "e-gooey".
The library used to be called Emigui
, which is why it is still hosted at github.com/emilk/emigui. If you like, emigui
is the collection of helper crates that surrounds egui
, while egui
is the actual GUI library.
Fonts: