egui/emigui
Emil Ernerfeldt 472e0b9afe Refactor Region: remember region rectangle
This will be used as a clip rectangle for generated paint commands.
2020-04-20 00:48:54 +02:00
..
fonts New font: Comfortaa 2019-03-16 13:37:29 +01:00
src Refactor Region: remember region rectangle 2020-04-20 00:48:54 +02:00
Cargo.toml Switch to parking_lot::Mutex 2020-04-18 09:32:39 +02:00
README.md Remove roadmap and replace with emigui/README.md with a TODO section 2020-04-19 11:15:35 +02:00

GUI implementation

This is the core library crate Emigui. It is fully platform independent without any backend. You give the Emigui library input each frame (mouse pos etc), and it outputs a triangle mesh for you to paint.

TODO:

  • Widgets:
    • Movable/resizable windows
    • Scroll areas (requires scissor tests / clip rects in paint backend)
    • Menu bar (File, Edit, etc)
    • One-line text input
    • Color picker
    • Style editor
    • Persist UI state in external storage
  • Rename Region to something shorter?
    • region: &Region region.add(...) :/
    • gui: &Gui gui.add(...) :)
    • ui: &Ui ui.add(...) :)