Héctor Ramón Jiménez 3fb06f6666 Fix tour README links
2019-09-05 09:38:37 +02:00
..
2019-09-05 07:23:03 +02:00
2019-09-05 09:37:54 +02:00
2019-09-05 09:38:37 +02:00
2019-09-05 07:23:03 +02:00
2019-09-05 09:37:54 +02:00
2019-09-05 07:23:03 +02:00

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:

  • tour contains the actual GUI code: state, messages, update logic and view logic.
  • renderer implements a simple renderer for each of the used widgets on top of the graphics module of ggez.
  • widget re-exposes Iced's built-in widgets with the renderer type parameter replaced with the implemented renderer, for convenience.
  • main integrates Iced with ggez and connects the tour with the renderer.
cargo run --example tour

Tour - Iced