21 for (
auto& column : info_columns) {
23 for (
auto& it : column) {
24 column_elements.push_back(
hbox({
29 columns_elements.push_back(
vbox(std::move(column_elements)));
31 auto document =
hbox(std::move(columns_elements));
std::vector< std::vector< ftxui::ColorInfo > > ColorInfoSorted2D()
Decorator bgcolor(Color)
Decorate using a background color.
Element text(std::wstring text)
Display a piece of unicode text.
void Render(Screen &screen, const Element &element)
Display an element on a ftxui::Screen.
Element vbox(Elements)
A container displaying elements vertically one by one.
static Screen Create(Dimensions dimension)
Create a screen with the given dimension.
Color is a class that represents a color in the terminal user interface.
Dimensions Fit(Element &, bool extend_beyond_screen=false)
The FTXUI ftxui:: namespace.
Element hbox(Elements)
A container displaying elements horizontally one by one.
std::vector< Element > Elements