8 breaking releases

0.9.0 Feb 9, 2025
0.8.0 Dec 17, 2024
0.7.0 Oct 24, 2024
0.4.0 Feb 9, 2023
0.2.0 Nov 1, 2022

#443 in GUI

Download history 41/week @ 2024-10-27 63/week @ 2024-11-03 2/week @ 2024-11-10 11/week @ 2024-11-17 14/week @ 2024-11-24 4/week @ 2024-12-01 22/week @ 2024-12-08 135/week @ 2024-12-15 4/week @ 2024-12-22 9/week @ 2024-12-29 21/week @ 2025-01-05 15/week @ 2025-01-12 11/week @ 2025-01-19 4/week @ 2025-01-26 36/week @ 2025-02-02 134/week @ 2025-02-09

185 downloads per month
Used in 2 crates

MIT/Apache

25KB
572 lines

egui-sfml

Crates.io docs.rs

SFML integration for egui.

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
~166K SLoC