PistonDevelopers / conrod

An easy-to-use, 2D GUI library written entirely in Rust.
Other
3.35k stars 296 forks source link

SDL2 backend? #1421

Open GuillaumeGomez opened 3 years ago

GuillaumeGomez commented 3 years ago

I wanted to use conrod to draw windows inside my SDL2 windows but I can't find how or if it is even possible. Do you have information about this by any chance?

simdimdim commented 3 years ago

with piston and SDL2 it works like this https://github.com/simdimdim/BB01/blob/229a6705951afeb55a42ac3239e8b180e49f3f17/src/bin/main.rs (quite simple overall) no idea how to without piston, hope you get an idea by looking at the source from the crates involved