You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Task::succeed, which replaces the old Task::new. #66
Default implementation for ui::widget::slider::State.
Default, Clone, Copy, PartialEq, and Eq implementations for ui::widget::button::State.
Additional color constants: Color::RED, Color::GREEN, and Color::BLUE. #77
Color::from_rgb_u32, which allows to constructs a Color using an hexadecimal literal (0xRRGGBB). #77
From<nalgebra::Matrix3> and Into<nalgebra::Matrix3> implementations for Transformation. #78
Game::is_finished, which allows to gracefully quit the game on demand. #79
Canvas::read_pixels, a method to read the contents of a Canvas as a DynamicImage from the image crate.
ui::Panel, a dark box that can be used to wrap a widget.
ui::ProgressBar, a progress bar to give visual feedback to your users when performing a slow task.
ui::Image, a simple widget to display a graphics::Image in your user interface.
Mesh::new_with_tolerance, which allows to control the tolerance of line segment approximations. #100
Game::cursor_icon, which allows customization of the mouse cursor icon.
Changed
Mesh::stroke now takes an f32 as line_width instead of a u16.
Task::new now supports a lazy operation that can fail. #66
Face culling has been disabled for Vulkan, Metal, D3D11, and D3D12 backends. In OpenGL, face culling was already disabled.
Transformation::nonuniform_scale now takes a Vector. #78
The logic of KeyboardAndMouse has been split into the new Keyboard and Mouse input trackers. The new mouse and keyboard methods can be used to obtain them, respectively. #69