This adds a new property from Settings:🪟:iconand a Icon struct which can be converted to winit:🪟:Icon. It also adds code to display this icon in Application::run. Due to the fact that the Icon struct is non copyable, I also had to remove the Copy trait from all Settings, both in `iced` and `iced_winit`. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| README.md | ||
iced_winit
iced_winit offers some convenient abstractions on top of iced_native to quickstart development when using winit.
It exposes a renderer-agnostic Application trait that can be implemented and then run with a simple call. The use of this trait is optional. A conversion module is provided for users that decide to implement a custom event loop.
Installation
Add iced_winit as a dependency in your Cargo.toml:
iced_winit = "0.1"
Iced moves fast and the master branch can contain breaking changes! If
you want to learn about a specific release, check out the release list.
