4 releases (2 breaking)
Uses new Rust 2024
new 0.3.1 | May 1, 2025 |
---|---|
0.3.0 | May 1, 2025 |
0.2.0 | Apr 25, 2025 |
0.1.0 | Apr 19, 2025 |
#343 in GUI
282 downloads per month
25KB
578 lines
egui SFML integration helpers
Contains various types and functions that helps with integrating egui with SFML.
egui-sf2g
This library allows using egui for sf2g projects. It's a very easy way to add a functional gui to your sf2g 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.
Dependencies
~9–21MB
~326K SLoC