1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-28 07:23:13 -04:00
Files
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
..
2019-03-16 13:37:29 +01:00
2020-04-18 09:32:39 +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(...) :)