12 using namespace ftxui;
16 text(
"normal") , text(
" ") ,
17 text(
"bold") | bold , text(
" ") ,
18 text(
"italic") | italic , text(
" ") ,
19 text(
"dim") | dim , text(
" ") ,
20 text(
"inverted") | inverted , text(
" ") ,
21 text(
"underlined") | underlined , text(
" ") ,
22 text(
"underlinedDouble") | underlinedDouble , text(
" ") ,
23 text(
"blink") | blink , text(
" ") ,
24 text(
"strikethrough") | strikethrough , text(
" ") ,
25 text(
"color") |
color(Color::Blue) , text(
" ") ,
26 text(
"bgcolor") |
bgcolor(Color::Blue) , text(
" ") ,
27 text(
"hyperlink") | hyperlink(
"https://github.com/ArthurSonzogni/FTXUI"),
30 auto screen = Screen::Create(Dimension::Full(), Dimension::Fit(document));
Element color(const LinearGradient &gradient, Element child)
Définit la couleur de premier plan d'un élément avec un effet de dégradé linéaire.
Element bgcolor(const LinearGradient &gradient, Element child)
Définit la couleur de fond d'un élément avec un effet de dégradé linéaire.
void Render(Screen &screen, const Element &element)
Affiche un élément sur un ftxui::Screen.
L'espace de noms FTXUI ftxui::