8 releases (breaking)
0.7.0 | Oct 24, 2024 |
---|---|
0.6.0 | Oct 14, 2024 |
0.5.0 | Sep 19, 2024 |
0.4.0 | Feb 9, 2023 |
0.1.1 | Aug 20, 2022 |
#377 in GUI
31 downloads per month
Used in 2 crates
25KB
563 lines
egui-sfml
This library allows using egui for rust-sfml projects. It's a very easy way to add a functional gui to your rust-sfml game or application!
All you need to do is:
- Create an
SfEgui
- Feed it SFML events using
add_event
- Do an egui frame with
do_frame
- Draw the ui with
draw
See examples/hello.rs
for a simple demo.
lib.rs
:
egui SFML integration helpers
Contains various types and functions that helps with integrating egui with SFML.
Dependencies
~29MB
~161K SLoC