#include <memory>
int main() {
color(Color::GreenLight,
text(
"GreenLight")),
color(Color::MagentaLight,
text(
"MagentaLight")),
color(Color::YellowLight,
text(
"YellowLight")),
text(
"Skyblue to DeepSkyBlue")),
}),
text(
"Skyblue to DeepSkyBlue")),
}),
});
screen.Print();
return 0;
}
Dimensions Fit(Element &)
Decorator bgcolor(Color)
Decorate using a background color.
Element hbox(Elements)
A container displaying elements horizontally one by one.
Element text(std::wstring text)
Display a piece of unicode text.
Element filler()
An element that will take expand proportionnally to the space left in a container.
void Render(Screen &screen, const Element &element)
Display an element on a ftxui::Screen.
Decorator color(Color)
Decorate using a foreground color.
Element vbox(Elements)
A container displaying elements vertically one by one.
A class representing the settings for linear-gradient color effect.