Tour
A simple UI tour showcasing different widgets that can be built using Iced. It also shows how the library can be integrated into an existing system.
The example is built on top of ggez, a game library for Rust. Currently, it
is using a personal fork to add a FontCache type and
fix some issues with HiDPI.
The implementation consists of different modules:
tourcontains the actual GUI code: state, messages, update logic and view logic.rendererimplements a simple renderer for each of the used widgets on top of the graphics module ofggez.widgetre-exposes Iced's built-in widgets with the renderer type parameter replaced with the implementedrenderer, for convenience.mainintegrates Iced withggezand connects thetourwith therenderer.
cargo run --example tour