summaryrefslogtreecommitdiffstats
path: root/examples/winit/README.md
diff options
context:
space:
mode:
authorLibravatar TimUntersberger <timuntersberger2@gmail.com>2021-06-25 15:38:30 +0200
committerLibravatar TimUntersberger <timuntersberger2@gmail.com>2021-06-25 17:33:40 +0200
commit52d44769a332d1d96a5e9292805a5884073b9185 (patch)
tree86c607e307a120c1f9aa76d1addc5cdd92bb8a34 /examples/winit/README.md
parent06d0158efbaadc5ae0a6dea22e7a761a3e1c2a8f (diff)
downloadiced-52d44769a332d1d96a5e9292805a5884073b9185.tar.gz
iced-52d44769a332d1d96a5e9292805a5884073b9185.tar.bz2
iced-52d44769a332d1d96a5e9292805a5884073b9185.zip
add initial attempt at adding winit example
Diffstat (limited to 'examples/winit/README.md')
-rw-r--r--examples/winit/README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/winit/README.md b/examples/winit/README.md
new file mode 100644
index 00000000..4d9fc5b9
--- /dev/null
+++ b/examples/winit/README.md
@@ -0,0 +1,18 @@
+## Counter
+
+The classic counter example explained in the [`README`](../../README.md).
+
+The __[`main`]__ file contains all the code of the example.
+
+<div align="center">
+ <a href="https://gfycat.com/fairdeadcatbird">
+ <img src="https://thumbs.gfycat.com/FairDeadCatbird-small.gif">
+ </a>
+</div>
+
+You can run it with `cargo run`:
+```
+cargo run --package counter
+```
+
+[`main`]: src/main.rs