Alexandre Bury
3b3f403f7a
Apply rustfmt
2016-10-02 15:22:29 -07:00
Alexandre Bury
8fa704bcfa
Rename Dialog::new
-> Dialog::around
...
And `Dialog::empty` -> `Dialog::new`
2016-10-02 15:15:30 -07:00
Alexandre Bury
53aea8e91c
Derive Clone
for RadioGroup
...
Also remove broken example.
2016-10-02 15:03:03 -07:00
Alexandre Bury
bf3888e275
Add RadioButton & RadioGroup
2016-10-02 14:57:09 -07:00
Alexandre Bury
4bf47f9a7f
Add missing links to tuto 2
2016-09-28 22:54:05 -07:00
Alexandre Bury
5d3fe19e8e
Fix tutorial 2 markdown
2016-09-28 22:52:23 -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
7e9609826c
Fix clippy warnings
2016-09-28 15:07:02 -07:00
Alexandre Bury
f4f2759df2
Make SelectView::on_submit callback take a Borrow<T>
...
Instead of a `T` directly.
2016-09-28 15:06:16 -07:00
Alexandre Bury
aae9368961
Update Readme.md
2016-09-27 11:08:29 -07:00
Alexandre Bury
076e8d47e9
Add "wide" feature to ncurses
...
Since it's no longer the default
2016-09-26 13:24:28 -07:00
Alexandre Bury
53a5bf19f3
Slider example: initialize title
2016-09-25 08:44:51 -07:00
Alexandre Bury
af803a4587
Add debuggin mention to doc
2016-09-24 17:19:09 -07:00
Alexandre Bury
b53e2a42bd
Use better type for new_default
macro
...
Again, `ty` is a better fit
2016-09-24 17:06:33 -07:00
Alexandre Bury
0401b3ab53
Use better type for wrap_impl!
macro
...
`ty` is better than `path`
2016-09-24 16:56:42 -07:00
Alexandre Bury
fa2ad3261b
Make Backend
methods not static anymore
2016-09-24 16:51:42 -07:00
Alexandre Bury
2e06dd70cb
Apply rustfmt
2016-09-22 22:11:13 -07:00
Alexandre Bury
d29f80869d
Don't inline doc in prelude
2016-09-22 22:04:55 -07:00
Alexandre Bury
829dd77deb
Add &Backend
to Printer struct
...
Makes `::B` public but undocumented.
Backend is currently an immutable ref, may need to become
mutable to be more useful (will need to change the View trait)
2016-09-22 22:00:58 -07:00
Alexandre Bury
05a862d98b
Remove unused import in test module
2016-09-22 17:12:53 -07:00
Alexandre Bury
840f03e7c3
Don't include dependency docs
2016-09-21 14:57:38 -07:00
Alexandre Bury
a5135a7aff
Better documentation for view::Finder
...
Also adds `Finder::find_id`
2016-09-21 14:57:03 -07:00
Alexandre Bury
f879305d7f
Adds SelectView::is_empty
...
Fix clippy warning
2016-09-21 11:57:38 -07:00
Alexandre Bury
a064400b6f
Add unsafe block around ncurses::stdscr
...
One more reason to avoid ncurses
2016-09-21 11:57:19 -07:00
Alexandre Bury
93980a7d0c
Rename View::find
-> View::find_any
...
And add the `Finder` trait on Views to provide a true `find`.
2016-09-21 11:33:44 -07:00
Alexandre Bury
7d16f70d67
Add some tests to view::position
2016-09-20 18:32:31 -07:00
Alexandre Bury
e3ac2a0482
Added some size tests to BoxView
2016-09-20 11:50:34 -07:00
Alexandre Bury
6598ea5cfd
Remove clippy results from Readme
...
At least until they fix the SSL certs
2016-09-20 11:26:58 -07:00
Alexandre Bury
08d1c1e5b0
Use an associated type in ViewWrapper
...
This removes the need for dynamic dispatching
2016-09-19 17:20:20 -07:00
Alexandre Bury
3813f7c446
Fix input compatibility table in Readme
2016-09-16 10:17:23 -07:00
Alexandre Bury
6771653512
Fix typo in Readme
2016-09-16 10:16:33 -07:00
Alexandre Bury
f56efcd7b3
Update Readme.md
2016-09-16 10:15:59 -07:00
Alexandre Bury
4628bb537e
Bump version to 0.2.6
2016-09-05 15:36:37 -07:00
Alexandre Bury
3701c85ffd
Add clear
methods to SelectView
and ListView
2016-09-05 15:33:52 -07:00
Alexandre Bury
ce6975a8f7
Add missing link to EditView doc
2016-09-03 00:03:18 -07:00
Alexandre Bury
53402a0063
Add link wrap_impl!
doc
2016-09-01 11:56:11 -07:00
Alexandre Bury
24511ae5f1
Accept Into<String>
in EditView::set_content
2016-09-01 11:49:47 -07:00
Alexandre Bury
d51772f714
EditView: move cursor on content change
...
To the end of the content.
2016-09-01 11:42:16 -07:00
Alexandre Bury
53178a2d6d
Bump version to 0.2.5
2016-09-01 11:29:15 -07:00
Alexandre Bury
9142c545f7
Fix crash when removing the first item in a SelectView
2016-09-01 11:28:30 -07:00
Alexandre Bury
f9f8fb0c75
Add feedback message in Readme
2016-09-01 11:26:06 -07:00
Alexandre Bury
0364f577b2
Add EditView::set_cursor
...
And fix a crash with `set_content` (it wasn't updating the cursor).
2016-09-01 11:10:12 -07:00
Alexandre Bury
67ba15045f
Add links to next tutorial
2016-09-01 08:22:40 -07:00
Alexandre Bury
7a4e99a5de
Bump version to 0.2.4
2016-09-01 00:22:21 -07:00
Alexandre Bury
de1ca0c880
Update toml to 0.2
2016-09-01 00:22:04 -07:00
Alexandre Bury
3719b28e43
Add tutorial screenshot
2016-08-31 18:22:33 -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
Alexandre Bury
77abb5729e
Add DummyView to prelude
2016-08-31 17:19:22 -07:00