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
|
### 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`
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user