Create README files for all the examples

This commit is contained in:
Héctor Ramón Jiménez 2020-02-21 15:12:27 +01:00
parent 9758c12176
commit b0cf47cc2b
12 changed files with 199 additions and 1 deletions

16
examples/clock/README.md Normal file
View file

@ -0,0 +1,16 @@
## Clock
An application that uses the `Canvas` widget to draw a clock and its hands to display the current time.
The __[`main`]__ file contains all the code of the example.
<div align="center">
<img src="https://user-images.githubusercontent.com/518289/74716344-a3e6b300-522e-11ea-8aea-3cc0a5100a2e.gif">
</div>
You can run it with `cargo run`:
```
cargo run --package clock
```
[`main`]: src/main.rs