Add missing links to tuto 2

This commit is contained in:
Alexandre Bury 2016-09-28 22:54:05 -07:00
parent 5d3fe19e8e
commit 4bf47f9a7f

View File

@ -103,6 +103,8 @@ This way of chaining method to set-up the view is very common in cursive. Most
views provide chainable variants of their methods, to allow creating the view
and configuring it in one spot.
[`TextView`]: http://gyscos.github.io/Cursive/cursive/views/struct.TextView
[`Dialog`]: http://gyscos.github.io/Cursive/cursive/views/struct.Dialog.html
[`Dialog::new`]: http://gyscos.github.io/Cursive/cursive/views/struct.Dialog.html#method.new
[`Dialog::text`]: http://gyscos.github.io/Cursive/cursive/views/struct.Dialog.html#method.text
[`Dialog::title`]: http://gyscos.github.io/Cursive/cursive/views/struct.Dialog.html#method.title
@ -147,6 +149,8 @@ fn show_next(s: &mut Cursive) {
}
```
[`Dialog::button`]: http://gyscos.github.io/Cursive/cursive/views/struct.Dialog.html#method.button
## Layers
After the user presses the `<Next>` button, we want to hide the current popup