20 for (
auto& column : info_columns) {
22 for (
auto& it : column) {
23 column_elements.push_back(
hbox({
28 columns_elements.push_back(
vbox(std::move(column_elements)));
30 auto document =
hbox(std::move(columns_elements));
32 auto screen = Screen::Create(Dimension::Full(), Dimension::Fit(document));
Element text(std::string_view text)
Affiche un morceau de texte unicode encodé en UTF8.
Element bgcolor(Color color, Element child)
Définit la couleur d'arrière-plan d'un élément.
Element vbox(Elements children)
Un conteneur affichant les éléments verticalement un par un.
L'espace de noms FTXUI ftxui::
Element hbox(Elements children)
Un conteneur affichant les éléments horizontalement un par un.
std::vector< Element > Elements
std::vector< std::vector< ColorInfo > > ColorInfoSorted2D()
void Render(Screen &screen, Node *node, Selection &selection)
Color
Construit une couleur transparente.