From 0097789d464ade4f218fadb54d9225a074e32c69 Mon Sep 17 00:00:00 2001 From: Alexandre Bury Date: Thu, 18 Jan 2018 10:32:08 -0800 Subject: [PATCH] Add examples descriptions --- CHANGELOG.md | 7 ++++--- examples/Readme.md | 8 ++++++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a059ab2..3daaed0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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` diff --git a/examples/Readme.md b/examples/Readme.md index 0882c26..8a5f541 100644 --- a/examples/Readme.md +++ b/examples/Readme.md @@ -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.