Add examples descriptions

This commit is contained in:
Alexandre Bury 2018-01-18 10:32:08 -08:00
parent c3f2e9ad9c
commit 0097789d46
2 changed files with 12 additions and 3 deletions

View File

@ -4,11 +4,12 @@
### New features ### New features
- Style - Style (breaking change):
- Added support for bold/italic/underlined text - Added support for bold/italic/underlined text
- Added `StyledString` for markup text - Added `StyledString` for markup text
- Colors: - Refactored line-break module
- Added ColorTyle and PaletteColor for more flexible colored text - Colors (breaking change):
- Added ColorStyle and PaletteColor for more flexible colored text
- Buttons: - Buttons:
- Added `Dialog::buttons` to iterate on buttons - Added `Dialog::buttons` to iterate on buttons
- Added `Button::set_label` and `Button::label` - Added `Button::set_label` and `Button::label`

View File

@ -61,6 +61,10 @@ This shows a use of a `ListView`, used to build simple forms.
This example uses a `TextArea`, where the user can input a block of text. This example uses a `TextArea`, where the user can input a block of text.
## [`markup`](markup.rs)
This example prints a text with markup decorations.
## [`theme`](theme.rs) ## [`theme`](theme.rs)
This loads a theme file at runtime to change default colors. This loads a theme file at runtime to change default colors.
@ -93,3 +97,7 @@ This shows how to use `RadioGroup` and `RadioButton`.
## [`slider`](slider.rs) ## [`slider`](slider.rs)
This is a demonstration of the `SliderView`. This is a demonstration of the `SliderView`.
## [`mines`](mines) (**Work in progress**)
A larger example showing an implementation of minesweeper.