Alexandre Bury
|
d384cbdaf1
|
Allow menu leaves and delimiter in menubar
|
2018-01-09 14:37:40 +01:00 |
|
Alexandre Bury
|
e4cd68a4eb
|
Rustfmt
|
2017-12-30 23:03:42 +01:00 |
|
Alexandre Bury
|
799ec812e4
|
Add TextContent and TextContentRef
To manage the model separately from the view.
|
2017-12-30 23:00:48 +01:00 |
|
Alexandre Bury
|
fd259bf32c
|
Mines example: add help message
|
2017-12-16 14:41:15 +01:00 |
|
Alexandre Bury
|
7ae754ce8f
|
Extended text_area example
|
2017-12-07 15:49:12 -08:00 |
|
Alexandre Bury
|
70906aa5de
|
Add mines example
|
2017-11-29 02:11:11 -08:00 |
|
Alexandre Bury
|
0b5b6ceace
|
Add mouse support to pancurses
|
2017-11-19 00:40:56 -08:00 |
|
Alexandre Bury
|
e3b0ecbbd9
|
Add links to example Readme
|
2017-11-17 14:28:18 -08:00 |
|
Alexandre Bury
|
6e56dc427c
|
Add example Readme
|
2017-11-17 11:27:24 -08:00 |
|
Alexandre Bury
|
420454cc0f
|
Better mouse scroll drag
Now saturates when to the top or left.
|
2017-10-14 21:50:08 -07:00 |
|
Alexandre Bury
|
f90621811c
|
More rustfmt
|
2017-10-14 21:18:50 -07:00 |
|
Alexandre Bury
|
a5952d0741
|
Fix some mouse/scroll issues with SelectView and TextView
|
2017-10-13 17:53:39 -07:00 |
|
Alexandre Bury
|
111d593f55
|
Merge branch 'master'
|
2017-10-13 11:01:39 -07:00 |
|
Alexandre Bury
|
a4ca7bbf1e
|
Rustfmt
|
2017-10-12 16:43:59 -07:00 |
|
Peter Kloss
|
759f57f1f8
|
fix some clippy warnings
|
2017-10-11 18:09:49 +02:00 |
|
Alexandre Bury
|
976728fd25
|
Use full-width window for key_codes example
|
2017-10-10 17:50:06 -07:00 |
|
Alexandre Bury
|
c7f995fd72
|
Larger window for key_codes example
|
2017-10-08 16:01:04 -07:00 |
|
Alexandre Bury
|
ba5963a4f0
|
Fix colors example
|
2017-09-23 13:43:02 -07:00 |
|
Alexandre Bury
|
415d0bba96
|
Add j/k navigation to select example
|
2017-08-23 17:05:31 -07:00 |
|
Alexandre Bury
|
a48ff9082f
|
Replace println_stderr! with eprintln!
|
2017-08-14 17:01:49 -07:00 |
|
Alexandre Bury
|
2ffae1f524
|
Rename {Color,ColorStyle}::Default to TerminalDefault
|
2017-07-18 01:36:34 +02:00 |
|
hcpl
|
9edc6ffc15
|
Add example that utilizes terminal default colors
|
2017-07-16 17:43:46 +03:00 |
|
Alexandre Bury
|
e4464cb44d
|
Merge remote-tracking branch 'origin/master' into custom_color
|
2017-06-14 00:44:04 -07:00 |
|
Alexandre Bury
|
9089d9fd88
|
Cleaner colors example
|
2017-06-14 00:43:03 -07:00 |
|
Alexandre Bury
|
7a7ccbf45c
|
Add colors example
|
2017-06-14 00:08:58 -07:00 |
|
Alexandre Bury
|
93b5421f53
|
Rename KeyEventView to OnEventView
|
2017-06-12 16:39:20 -07:00 |
|
Alexandre Bury
|
5c42a59954
|
Refactor colors management
Do not register pairs with backend. Let backend cache color pairs if
needed.
|
2017-06-12 11:59:33 -07:00 |
|
Alexandre Bury
|
9e1a83f7cc
|
Set up Custom color in termion and ncurses backends
|
2017-06-11 15:01:35 -07:00 |
|
Alexandre Bury
|
f3f10b7088
|
Remove unused imports
|
2017-05-14 16:48:49 -07:00 |
|
Alexandre Bury
|
381e2d9d73
|
Update examples/logs.rs to use VecDeque
Instead of custom ring-buffer
|
2017-04-23 20:04:30 -07:00 |
|
Alexandre Bury
|
2fd30e3e10
|
TextArea: fix off-by-one required_size
|
2017-04-21 21:51:30 -07:00 |
|
Alexandre Bury
|
5ac68b1ebf
|
Add focus switch to list_view example
|
2017-03-28 19:01:05 -07:00 |
|
Alexandre Bury
|
c3c69e7892
|
Merge IdView and RefCellView
And remove `with_id_mut`
|
2017-03-25 21:56:31 -07:00 |
|
Alexandre Bury
|
146ebd8931
|
Rename find_id -> call_on_id, find_id_mut -> find_id
|
2017-03-25 18:22:14 -07:00 |
|
Alexandre Bury
|
cdb3df7fc8
|
Merge branch 'master' into refview
|
2017-03-25 15:01:57 -07:00 |
|
Alexandre Bury
|
e0b279d9df
|
Fix clippy warnings
|
2017-03-05 15:18:15 -08:00 |
|
Alexandre Bury
|
30f13fc260
|
Edit refcell_view example to use find_id
|
2017-02-26 16:01:23 -08:00 |
|
Alexandre Bury
|
23b0f9c168
|
docs: add refcell_view example
|
2017-02-26 15:53:12 -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
|
f504ad8f0e
|
Add fullscreen layers to StackView
Fixes #87
|
2017-01-23 18:54:52 -08:00 |
|
Alexandre Bury
|
0977daa12d
|
Unify method names on Menubar and MenuTree
|
2017-01-23 16:51:48 -08:00 |
|
Alexandre Bury
|
ed841825f2
|
Add methods to edit menubar and menutrees
Fixes #101
|
2017-01-23 15:50:56 -08:00 |
|
Alexandre Bury
|
90c9d51a6c
|
Add comments to menubar example
|
2016-10-09 15:59: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
|
bf3888e275
|
Add RadioButton & RadioGroup
|
2016-10-02 14:57:09 -07:00 |
|
Alexandre Bury
|
d684a5bc1e
|
Remove prelude module
Add `traits` module instead
|
2016-09-28 22:45:27 -07:00 |
|
Alexandre Bury
|
7e9609826c
|
Fix clippy warnings
|
2016-09-28 15:07:02 -07:00 |
|
Alexandre Bury
|
53a5bf19f3
|
Slider example: initialize title
|
2016-09-25 08:44:51 -07:00 |
|
Alexandre Bury
|
ce6992a8c5
|
Add SliderView
|
2016-08-13 01:03:40 -07:00 |
|
Alexandre Bury
|
215e88ae3e
|
Use Dialog instead of Panel in progress example
|
2016-08-05 10:48:23 -07:00 |
|
Alexandre Bury
|
e79cc61e08
|
Remove FullView
|
2016-08-04 20:03:48 -07:00 |
|
Alexandre Bury
|
f7a3d821d1
|
Actually use Theme::{shadow,borders} when drawing
Also add the 8 light base colors
|
2016-08-04 17:27:04 -07:00 |
|
Alexandre Bury
|
1052c0b74c
|
Remove EditView::min_length
Uses `.fixed_width()` from `Boxable` or something like that.
|
2016-08-03 21:58:00 -07:00 |
|
Alexandre Bury
|
b38995b906
|
Refactor BoxView
Add `Boxable` trait.
|
2016-08-03 21:55:41 -07:00 |
|
Alexandre Bury
|
bd78418083
|
Add scrollbar_padding to ScrollBase
And use it in TextArea
|
2016-08-02 00:49:59 -07:00 |
|
Alexandre Bury
|
75c365451f
|
Add initial TextArea
|
2016-08-02 00:32:16 -07:00 |
|
Alexandre Bury
|
ede5c616f6
|
Update EditView doc
With updated `examples/edit.rs` content
|
2016-07-31 17:53:00 -07:00 |
|
Alexandre Bury
|
d12622b56a
|
Fix examples and tests
|
2016-07-30 13:30:56 -07:00 |
|
Alexandre Bury
|
40f9a91a7a
|
Replace some &str -> S: Into<String>
Add back the "Ok" button to `examples/edit.rs`
|
2016-07-30 12:58:25 -07:00 |
|
Alexandre Bury
|
ca6e16311f
|
Add secret mode to EditView
Only prints `*`. Prints `**` with wide chars.
|
2016-07-30 12:26:41 -07:00 |
|
Alexandre Bury
|
3726df46b7
|
Add on_submit to EditView
It simplifies the Edit example
|
2016-07-30 02:34:47 -07:00 |
|
Alexandre Bury
|
42a377d92b
|
SelectView: add methods to add items from iterators
|
2016-07-30 01:52:34 -07:00 |
|
Alexandre Bury
|
f87d0e7c5b
|
Move views to new views module
|
2016-07-28 16:36:01 -07:00 |
|
Alexandre Bury
|
2597c9a566
|
Add a center() convenient method to TextView
Avoids having to import HAlign
|
2016-07-27 23:58:57 -07:00 |
|
Alexandre Bury
|
261d2aac48
|
Remove Ticker alias
The `Counter` NewType can fill this role.
|
2016-07-27 23:55:34 -07:00 |
|
Alexandre Bury
|
5ce1094931
|
Better progress bar example
Shows multiple progress bars updated together.
|
2016-07-27 23:52:21 -07:00 |
|
Alexandre Bury
|
8eb61e0239
|
Add start and with_task to ProgressBar
|
2016-07-26 12:25:06 -07:00 |
|
Alexandre Bury
|
0643c50bd5
|
Add async-callback channel to Cursive
And remove it from ProgressBar
|
2016-07-26 10:13:36 -07:00 |
|
Alexandre Bury
|
6e021867ab
|
ProgressBar now shows a percentage status
The label can be customized though `ProgressBar::with_label`.
|
2016-07-25 23:54:33 -07:00 |
|
Alexandre Bury
|
5dd20db676
|
Add Dialog::empty and Dialog::content
Allows to set the content after the title, for when it's more
readable.
|
2016-07-25 20:43:01 -07:00 |
|
Alexandre Bury
|
c1c9322319
|
Add panel view
|
2016-07-25 13:35:46 -07:00 |
|
Alexandre Bury
|
6c71ac14b0
|
More linear progress bar progression
Each cell should receive the same number of ticks
|
2016-07-25 12:18:05 -07:00 |
|
Alexandre Bury
|
e29511e757
|
Add ProgressBar
Also make Callback its own NewType to add comversion methods.
|
2016-07-24 23:01:09 -07:00 |
|
Alexandre Bury
|
10e072c140
|
Allow loading themes from content.
Made `load_theme` thake a `&str` and Added `load_theme_file`.
|
2016-07-24 16:56:22 -07:00 |
|
Alexandre Bury
|
f28ac264f1
|
Add prelude import module
Update examples to use it.
|
2016-07-20 21:25:14 -07:00 |
|
Alexandre Bury
|
64d176ffa5
|
Add proper select popup placement
Added a popup select to the `list_view` example
|
2016-07-20 00:30:00 -07:00 |
|
Alexandre Bury
|
267eddc263
|
Use compile-time include for examples
Instead of trying to read the file at runtime.
|
2016-07-17 18:43:22 -07:00 |
|
Alexandre Bury
|
77a623674a
|
Add on_change callback to CheckBox
|
2016-07-16 18:18:33 -07:00 |
|
Alexandre Bury
|
d4afdf024f
|
Add checkbox view
|
2016-07-16 17:22:24 -07:00 |
|
Alexandre Bury
|
5ee8706582
|
Add scrollable flag to TextViews
|
2016-07-16 17:08:17 -07:00 |
|
Alexandre Bury
|
a22c92a1a1
|
Add ListView
Also added `examples/list_view.rs`.
|
2016-07-16 13:25:21 -07:00 |
|
Alexandre Bury
|
d633684e41
|
Fix examples
|
2016-07-16 11:20:40 -07:00 |
|
Alexandre Bury
|
91fdf96066
|
Add Direction enum
And add a Direction argument to take_focus
|
2016-07-14 22:23:06 -07:00 |
|
Alexandre Bury
|
1b34934df7
|
Fix printer::Printer imports
|
2016-07-13 23:25:54 -07:00 |
|
Alexandre Bury
|
03c400ad44
|
Fix linear layout in constrained space
|
2016-07-13 01:19:05 -07:00 |
|
Alexandre Bury
|
b7a270f258
|
Split width and height in BoxView
They are now both optional
|
2016-07-11 19:24:50 -07:00 |
|
Alexandre Bury
|
6e0819f723
|
Simplify Event enum
Now properly unify Alt/Ctrl/Shift handling
|
2016-07-10 18:27:26 -07:00 |
|
Alexandre Bury
|
d89c83f0ed
|
MenuPopup now supports PageUp/Down and Home/End
|
2016-07-02 20:53:13 -07:00 |
|
Alexandre Bury
|
692c310656
|
Better Menu API
Now offer non-chainable methods as well.
|
2016-07-02 20:44:27 -07:00 |
|
Alexandre Bury
|
e439b422da
|
Fix warnings in menubar example
|
2016-07-02 19:48:21 -07:00 |
|
Alexandre Bury
|
8220fe529e
|
Better menubar example
Added scrolling support, and left/right navigation
|
2016-07-02 19:37:38 -07:00 |
|
Alexandre Bury
|
1d54764cdb
|
Working menubar example
Also update callback: use Rc instead of Box
|
2016-07-02 15:02:42 -07:00 |
|
Alexandre Bury
|
87cd1ce23f
|
Add position parameter to stack view layers
Can be centered, absolute or relative to the previous layer.
Can be set independently for each axis.
|
2016-07-01 19:19:43 -07:00 |
|
Alexandre Bury
|
d0d4380d5a
|
Add menubar example
Not working yet, but at least it shows how the API should be used.
|
2016-06-28 01:13:44 -07:00 |
|
Alexandre Bury
|
d02c30ae9f
|
Fix clippy warnings
|
2016-06-27 22:40:11 -07:00 |
|
Alexandre Bury
|
654223411d
|
Apply rustfmt to examples
|
2016-06-25 17:11:42 -07:00 |
|
Alexandre Bury
|
58bd274df0
|
Update Readme & run rustfmt
|
2016-06-25 16:39:05 -07:00 |
|
Alexandre Bury
|
07c3c99e54
|
Update for new ncurses version
|
2016-03-15 15:39:08 -07:00 |
|
Alexandre Bury
|
fa4b52ee81
|
Simplified examples
|
2015-07-30 14:51:12 +02:00 |
|
Alexandre Bury
|
ac85a1f288
|
Fixed bug with dialog without buttons
|
2015-07-28 21:54:32 +02:00 |
|