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 wouldn't call it API breaking as long as the basic interface is more-or-less the same :)
For Window::new, have you thought maybe about doing something like:
Window::new(title, width, height, Option<WindowParams>
A generic WindowParams struct could hold all future options (so for now it could be window scale, style, mouse enabled/disabled etc.). This way you wouldn't have to worry about breaking code.
Considering update_with_buffer - is it just changing name for the sake of better description or are you planning to add some other type of window update?