The more stuff I add to minifb the more I actually want to use it in some other projects (like ProDBG) as I'm almost doing double work/cut'n'pasta now. So I have considered extending minifb somewhat that might break the current API.
Window::new(title, width, heigh...)
<- this is all good but i'm thinking off perhaps adding something like
Window::new(title, width, height, Option<Scale>, Option<WindowStyle>)
(style is for resize and such)
window::update_with_buffer(&buffer)
<- rename of the current update function.
I'm not using minifb but I saw this and how to do optional parameters are something I've been thinking about a bit lately. I did notice this pattern emerging in libstd https://doc.rust-lang.org/std/fs/struct.OpenOptions.html, though I'm not sure yet if I'm a fan. Thought you might find it interesting though if you haven't seen it already. API wise, not that it's a huge concern, but it means you can leave the existing Window::new() as is and and use a WindowsParam builder to add new parameter options.