Alexandre Bury
|
51a1a19f92
|
Fix progressbar doc
|
2016-07-28 00:29:11 -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
|
c689a3ba7e
|
Add non-chainable add_child to LinearLayout
|
2016-07-27 23:52:21 -07:00 |
|
Alexandre Bury
|
bea7240271
|
Wrap Arc<AtomicUsize> around NewType Counter
And offers a simpler API
|
2016-07-26 23:29:13 -07:00 |
|
Alexandre Bury
|
8290c3f62a
|
Make progressbar more robust to invalid min/max values
|
2016-07-26 23:05:18 -07:00 |
|
Alexandre Bury
|
2cedc8ae76
|
Add comments to progress bar
|
2016-07-26 21:48:26 -07:00 |
|
Alexandre Bury
|
8eb61e0239
|
Add start and with_task to ProgressBar
|
2016-07-26 12:25:06 -07:00 |
|
Alexandre Bury
|
eb6b5d5728
|
Fix LinearLayout children width
Now properly gives the full width to every children.
|
2016-07-26 10:49:37 -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
|
04f961657f
|
ProgressBar takes all given width
|
2016-07-26 09:55:22 -07:00 |
|
Alexandre Bury
|
2e5262096a
|
Don't compile internal doc example
Won't compile anyway since it's not public
|
2016-07-26 00:00:45 -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
|
7283e7f3af
|
Rustfmt
|
2016-07-25 13:39:10 -07:00 |
|
Alexandre Bury
|
5e6222bf23
|
Use intermediate type for the callback promise
Using actual promises would still be better
|
2016-07-25 13:38:13 -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
|
47acf1667d
|
Remove brackets from progress bar
It was ugly, really.
Put a Panel (doesn't exist yet) around it if you want.
|
2016-07-24 23:03:59 -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
|
bbda625433
|
Bump version to 0.1.1
|
2016-07-20 22:08:28 -07:00 |
|
Alexandre Bury
|
0a8228d073
|
Add examples to documentation
|
2016-07-20 22:08:06 -07:00 |
|
Alexandre Bury
|
536321ebda
|
Add Button to prelude.
|
2016-07-20 22:02:45 -07:00 |
|
Alexandre Bury
|
9c16ac149b
|
Bump version to 0.1.0
|
2016-07-20 21:43:20 -07:00 |
|
Alexandre Bury
|
2a4742f67b
|
Use prelude in docs
|
2016-07-20 21:43:20 -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
|
8b6022a398
|
Add popup mode to SelectView
Single-line, opens a popup on selection.
|
2016-07-19 23:47:27 -07:00 |
|
Alexandre Bury
|
783fa0f1e2
|
Fix typo in docs
|
2016-07-19 20:50:21 -07:00 |
|
Alexandre Bury
|
a1d0231e2c
|
Make Menubar a proper View
|
2016-07-19 20:44:50 -07:00 |
|
Alexandre Bury
|
2065be3e88
|
Add some doc to the menu module
|
2016-07-19 20:28:34 -07:00 |
|
Alexandre Bury
|
7a466e254f
|
Exclude "doc" and "examples" from cargo package
|
2016-07-18 00:15:40 -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
|
2380763b65
|
Add example screenshots to Readme
|
2016-07-17 18:18:20 -07:00 |
|
Alexandre Bury
|
bfc62b2f34
|
Add example screenshots
|
2016-07-17 18:11:23 -07:00 |
|
Alexandre Bury
|
4120203844
|
More fixes for insufficient space.
|
2016-07-17 01:20:41 -07:00 |
|
Alexandre Bury
|
8750185f8c
|
Don't crash on insufficient space
|
2016-07-16 22:06:28 -07:00 |
|
Alexandre Bury
|
ab3a55abaf
|
Add enabled state to Button
|
2016-07-16 18:49:17 -07:00 |
|
Alexandre Bury
|
58a04bbb13
|
Add enabled state to SelectView
|
2016-07-16 18:46:18 -07:00 |
|
Alexandre Bury
|
02b6b6601f
|
Add enabled state to Checkbox
|
2016-07-16 18:36:54 -07:00 |
|
Alexandre Bury
|
77a623674a
|
Add on_change callback to CheckBox
|
2016-07-16 18:18:33 -07:00 |
|
Alexandre Bury
|
05f66b8e1b
|
Add macro'd Default implementations
|
2016-07-16 17:28:42 -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
|
89468d1786
|
Add "true" cursive screenshot
|
2016-07-16 16:49:37 -07:00 |
|
Alexandre Bury
|
5b25893496
|
Rustfmt
|
2016-07-16 13:52:28 -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 |
|