Commit Graph

18 Commits

Author SHA1 Message Date
Alexandre Bury
4154f99b44 Split non-backend code into cursive-core 2020-04-23 13:46:00 -07:00
Alexandre Bury
6824cc4299 Rename id to name: phase 2 2020-01-06 15:39:30 -08:00
Alexandre Bury
9aee7d374c Rename some types
BoxView => ResizedView
SizedView => LastSizeView
ViewBox => BoxedView
Boxable => Resizable
Boxable::box => Resizable::resize

Old names are still re-exported, but deprecated.
2020-01-06 11:55:16 -08:00
Miguel Madrid Mencía
1fcb9db79c Fix clippy warning in tutorial 3 (#374)
- Writing `&String` instead of `&str` involves a new object where a
  slice will do
  See https://rust-lang.github.io/rust-clippy/master/#ptr_arg
2019-09-06 10:23:44 -07:00
cubetastic
ede8423e92 Update docs, fix minor typos, rephrase some parts of the tutorials (#364)
Also mention that strikethrough doesn't work with ncurses and blt.
2019-07-30 09:48:05 -07:00
Alexandre Bury
23d65aa9dc Update examples and tutorials to Rust 2018 2019-05-20 15:53:22 -07:00
Alexandre Bury
682fadeb1c
Fix pop_layer button in tutorial_3.md 2018-08-19 08:38:33 -07:00
Alexandre Bury
126530b9a9 Cursive::new now takes the backend as argument 2018-04-01 16:39:03 -07:00
Alexandre Bury
66a66e5951 Update doc links in tutorials 2018-03-18 10:10:06 -07:00
Alexandre Bury
f7b6397588 Update tutorial_3
Remove extra Rc clones, add missing link.
2017-03-26 20:53:34 -07:00
Alexandre Bury
c300e0628d Rename find -> call_on
And update tutorials
2017-03-26 20:50:50 -07:00
Alexandre Bury
b63762d441 View::find_any now takes a closure instead of returning reference
Also updated Finder::find and find_id.
2017-02-07 15:49:06 -08:00
Alexandre Bury
8fa704bcfa Rename Dialog::new -> Dialog::around
And `Dialog::empty` -> `Dialog::new`
2016-10-02 15:15:30 -07:00
Alexandre Bury
d684a5bc1e Remove prelude module
Add `traits` module instead
2016-09-28 22:45:27 -07:00
Alexandre Bury
51e955808c Add skeptic tests 2016-09-28 15:22:21 -07:00
Alexandre Bury
ce6975a8f7 Add missing link to EditView doc 2016-09-03 00:03:18 -07:00
Alexandre Bury
a37790a0ed Fix tutorial image 2016-08-31 18:21:28 -07:00
Alexandre Bury
653ebb08c4 Add 3rd tutorial 2016-08-31 18:18:52 -07:00