1
0
Fork 0
baseview/examples
Adrien Prokopowicz 65d970495f
Render a background for the open_window example (#175)
This PR adds code to render a basic gray background to the opened window in the `open_window` example.

This also helps making the example a bit more useful, since most users will want to render to their window.

And also it looks nicer. 🙂 

This is done using the `softbuffer` crate, in the same manner of the `open_parented` introduced in #172.
2024-03-25 18:41:39 -05:00
..
open_parented.rs Added functional open_parented example (#172) 2024-03-24 17:16:16 -05:00
open_window.rs Render a background for the open_window example (#175) 2024-03-25 18:41:39 -05:00