egui/emigui
2020-04-20 10:54:57 +02:00
..
fonts New font: Comfortaa 2019-03-16 13:37:29 +01:00
src Resize windows based on cursor position rather than movement 2020-04-20 10:54:57 +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(...) :)