diff options
author | 2020-02-22 09:12:43 +0100 | |
---|---|---|
committer | 2020-02-22 09:12:43 +0100 | |
commit | d6c2b1121c9592826e1cc25eeecbf3fa8d982ee8 (patch) | |
tree | 14e343816af52ee12635fcfec9046e9086519523 /examples/clock | |
parent | 9758c121764a6e8e5a45b8a66915127b31e61df7 (diff) | |
parent | b0cf47cc2b736080d25a6fe48d17ef5086d6a39a (diff) | |
download | iced-d6c2b1121c9592826e1cc25eeecbf3fa8d982ee8.tar.gz iced-d6c2b1121c9592826e1cc25eeecbf3fa8d982ee8.tar.bz2 iced-d6c2b1121c9592826e1cc25eeecbf3fa8d982ee8.zip |
Merge pull request #198 from hecrj/improvement/example-readmes
Create `README` files for all the examples
Diffstat (limited to 'examples/clock')
-rw-r--r-- | examples/clock/README.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/clock/README.md b/examples/clock/README.md new file mode 100644 index 00000000..17509180 --- /dev/null +++ b/examples/clock/README.md @@ -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 |