2 unstable releases

Uses new Rust 2024

new 0.2.0 Apr 25, 2025
0.1.0 Apr 19, 2025

#330 in GUI

Download history 131/week @ 2025-04-16

131 downloads per month

MIT/Apache

25KB
578 lines

egui SFML integration helpers

Contains various types and functions that helps with integrating egui with SFML.


egui-sf2g

Crates.io docs.rs

sf2g integration for egui.

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