mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-09 19:00:46 +00:00
Add examples descriptions
This commit is contained in:
parent
c3f2e9ad9c
commit
0097789d46
@ -4,11 +4,12 @@
|
||||
|
||||
### New features
|
||||
|
||||
- Style
|
||||
- Style (breaking change):
|
||||
- Added support for bold/italic/underlined text
|
||||
- Added `StyledString` for markup text
|
||||
- Colors:
|
||||
- Added ColorTyle and PaletteColor for more flexible colored text
|
||||
- Refactored line-break module
|
||||
- Colors (breaking change):
|
||||
- Added ColorStyle and PaletteColor for more flexible colored text
|
||||
- Buttons:
|
||||
- Added `Dialog::buttons` to iterate on buttons
|
||||
- Added `Button::set_label` and `Button::label`
|
||||
|
@ -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.
|
||||
|
||||
## [`markup`](markup.rs)
|
||||
|
||||
This example prints a text with markup decorations.
|
||||
|
||||
## [`theme`](theme.rs)
|
||||
|
||||
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)
|
||||
|
||||
This is a demonstration of the `SliderView`.
|
||||
|
||||
## [`mines`](mines) (**Work in progress**)
|
||||
|
||||
A larger example showing an implementation of minesweeper.
|
||||
|
Loading…
Reference in New Issue
Block a user