egui-sfml

Crates.ioegui-sfml
lib.rsegui-sfml
version0.9.0
created_at2022-08-20 18:45:22.828813+00
updated_at2025-02-09 08:31:50.606168+00
descriptionegui integration for rust-sfml
homepage
repositoryhttps://github.com/crumblingstatue/egui-sfml
max_upload_size
id649432
size57,928
(crumblingstatue)

documentation

https://docs.rs/egui-sfml

README

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.

Commit count: 129

cargo fmt