mirror of
https://github.com/italicsjenga/rust_minifb.git
synced 2024-12-24 03:41:29 +11:00
2 KiB
2 KiB
Changelog
This project follows semantic versioning.
v0.5.0 (2016-03-04)
- [changed] - Proper Errors which uses
std::Error
as base.Window::new
uses this but the API itself hasn't changed. - [added] - Menu support on Mac and Windows. See the Menu API functions here
- [known issue] -
remove_menu
doesn't work on Windows issue - [known issue] - On Mac when running an application from terminal on has to switch to another application and back to get menu focus. issue
v0.4.0 (2016-01-31)
This release breaks some of the API by changing names and parameters to some functions.
- [changed]
Window::new(...)
now takes WindowOptions struct to configure the creation of the Window. doc - [changed]
window.update()
Doesn't take a buffer anymore. Seewindow.update_with_buffer
doc - [added]
window.update_with_buffer()
Old update version that takes buffer as input parameter doc - [added]
window.get_window_handle()
Returns the native handle (os dependant) doc
v0.3.1 (2016-01-29)
- [fixed]
get_mouse_pos(Clamp)
clamps to[(0, 0) - (width - 1, height - 1)]
instead of(width, height)
v0.3.0 (2016-01-29)
This release adds support for mouse input. See the documentation and the examples for usage
- [added] get_mouse_pos
- [added] get_mouse_down
- [added] get_scroll_wheel