diff options
author | 2020-01-25 12:11:59 +0100 | |
---|---|---|
committer | 2020-01-25 12:11:59 +0100 | |
commit | 0bdf1f23b5ab4348cccb295fcc4e9b00a65e772a (patch) | |
tree | dfc490c6841b38ba4f12fc79f0a7a9ff3cd95ca0 /examples/README.md | |
parent | 7f4ca711252d3994fc94218230677e026408a254 (diff) | |
download | iced-0bdf1f23b5ab4348cccb295fcc4e9b00a65e772a.tar.gz iced-0bdf1f23b5ab4348cccb295fcc4e9b00a65e772a.tar.bz2 iced-0bdf1f23b5ab4348cccb295fcc4e9b00a65e772a.zip |
Shorten examples `README`
Diffstat (limited to 'examples/README.md')
-rw-r--r-- | examples/README.md | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/examples/README.md b/examples/README.md index c7820f76..8f2eba3e 100644 --- a/examples/README.md +++ b/examples/README.md @@ -50,24 +50,6 @@ We have not yet implemented a `LocalStorage` version of the auto-save feature. T [TodoMVC]: http://todomvc.com/ -## [Pokédex](pokedex) -An application that helps you learn about Pokémon! It performs an asynchronous HTTP request to the [PokéAPI] in order to load and display a random Pokédex entry (sprite included!). - -The example code can be found in the __[`main`](pokedex/src/main.rs)__ file. - -<div align="center"> - <a href="https://gfycat.com/aggressivedarkelephantseal-rust-gui"> - <img src="https://thumbs.gfycat.com/AggressiveDarkElephantseal-small.gif" height="400px"> - </a> -</div> - -You can run it on native platforms with `cargo run`: -``` -cargo run --package pokedex -``` - -[PokéAPI]: https://pokeapi.co/ - ## [Styling](styling) An example showcasing custom styling with a light and dark theme. @@ -92,6 +74,7 @@ A bunch of simpler examples exist: - [`custom_widget`](custom_widget), a demonstration of how to build a custom widget that draws a circle. - [`events`](events), a log of native events displayed using a conditional `Subscription`. - [`geometry`](geometry), a custom widget showcasing how to draw geometry with the `Mesh2D` primitive in [`iced_wgpu`](../wgpu). +- [`pokedex`](pokedex), an application that displays a random Pokédex entry (sprite included!) by using the [PokéAPI]. - [`progress_bar`](progress_bar), a simple progress bar that can be filled by using a slider. - [`stopwatch`](stopwatch), a watch with start/stop and reset buttons showcasing how to listen to time. - [`svg`](svg), an application that renders the [Ghostscript Tiger] by leveraging the `Svg` widget. @@ -102,6 +85,7 @@ cargo run --package <example> ``` [`lyon`]: https://github.com/nical/lyon +[PokéAPI]: https://pokeapi.co/ [Ghostscript Tiger]: https://commons.wikimedia.org/wiki/File:Ghostscript_Tiger.svg ## [Coffee] |