2 unstable releases
Uses new Rust 2024
new 0.2.0 | Apr 25, 2025 |
---|---|
0.1.0 | Apr 19, 2025 |
#330 in GUI
131 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
~14–26MB
~446K SLoC