Alexandre Bury
|
6fe6b72f89
|
Use std::cmp::min rather than usize::min
|
2017-11-19 15:44:28 -08:00 |
|
Alexandre Bury
|
1f1a651371
|
Fix linear layout offset check
|
2017-11-17 12:42:30 -08:00 |
|
Alexandre Bury
|
dc75cdd115
|
LinearLayout: use ChildIterator everywhere
For a more consistent sizing.
|
2017-11-06 23:51:44 -08:00 |
|
Alexandre Bury
|
11ea8a592b
|
Never layout a child larger than the parent
|
2017-11-06 17:12:39 -08:00 |
|
Alexandre Bury
|
f90621811c
|
More rustfmt
|
2017-10-14 21:18:50 -07:00 |
|
Alexandre Bury
|
93982517ae
|
Fix clippy warnings
|
2017-10-13 11:24:17 -07:00 |
|
Alexandre Bury
|
def6b3af27
|
Fix compilation
|
2017-10-12 20:13:49 -07:00 |
|
Alexandre Bury
|
0150ebfc9e
|
Add mouse support to LinearLayout
|
2017-10-12 17:29:19 -07:00 |
|
Alexandre Bury
|
a4ca7bbf1e
|
Rustfmt
|
2017-10-12 16:43:59 -07:00 |
|
hcpl
|
ca4410030a
|
Use log crate
This provides a uniform way to handle logging and can be combined with
logs from other libraries in end-user apps.
|
2017-08-23 17:49:09 +03:00 |
|
Alexandre Bury
|
a48ff9082f
|
Replace println_stderr! with eprintln!
|
2017-08-14 17:01:49 -07:00 |
|
Alexandre Bury
|
05bac7a192
|
More safe subtractions all around.
|
2017-08-14 16:32:39 -07:00 |
|
Alexandre Bury
|
c300e0628d
|
Rename find -> call_on
And update tutorials
|
2017-03-26 20:50:50 -07:00 |
|
Alexandre Bury
|
cdb3df7fc8
|
Merge branch 'master' into refview
|
2017-03-25 15:01:57 -07:00 |
|
Alexandre Bury
|
017bb21710
|
Add View::focus_view
|
2017-03-25 14:50:52 -07:00 |
|
Alexandre Bury
|
2cd2787119
|
Event::Unknown now carries the unknown bytes rather than a i32
And termion has been updated to use termion::Event::Unsupported
|
2017-03-25 11:01:25 -07:00 |
|
Alexandre Bury
|
7d9cb03ffb
|
More checks against small viewports
Prevents panics when the terminal is resized.
|
2017-03-05 11:35:20 -08: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
|
d7eaa5a086
|
Rename View::get_min_size -> required_size
|
2017-01-23 22:53:03 -08:00 |
|
Alexandre Bury
|
3b3f403f7a
|
Apply rustfmt
|
2016-10-02 15:22:29 -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
|
f87d0e7c5b
|
Move views to new views module
|
2016-07-28 16:36:01 -07:00 |
|