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

#441 in GUI

Download history 5/week @ 2024-11-13 13/week @ 2024-11-20 10/week @ 2024-11-27 12/week @ 2024-12-04 86/week @ 2024-12-11 64/week @ 2024-12-18 17/week @ 2025-01-01 24/week @ 2025-01-08 7/week @ 2025-01-15 9/week @ 2025-01-22 7/week @ 2025-01-29 149/week @ 2025-02-05 73/week @ 2025-02-12 10/week @ 2025-02-19 28/week @ 2025-02-26

262 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