summaryrefslogtreecommitdiffstats
path: root/examples/clock
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-02-21 15:12:27 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-02-21 15:20:05 +0100
commitb0cf47cc2b736080d25a6fe48d17ef5086d6a39a (patch)
tree14e343816af52ee12635fcfec9046e9086519523 /examples/clock
parent9758c121764a6e8e5a45b8a66915127b31e61df7 (diff)
downloadiced-b0cf47cc2b736080d25a6fe48d17ef5086d6a39a.tar.gz
iced-b0cf47cc2b736080d25a6fe48d17ef5086d6a39a.tar.bz2
iced-b0cf47cc2b736080d25a6fe48d17ef5086d6a39a.zip
Create `README` files for all the examples
Diffstat (limited to 'examples/clock')
-rw-r--r--examples/clock/README.md16
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