#include <iostream>
#include <memory>
int main() {
auto make_boxed = [] {
});
};
make_boxed(),
make_boxed(),
make_boxed(),
}) |
auto screen =
screen.Print();
std::cout << std::endl;
}
static Screen Create(Dimensions dimension)
Create a screen with the given dimension.
Dimensions Fit(Element &)
Element hbox(Elements)
A container displaying elements horizontally one by one.
Element text(std::wstring text)
Display a piece of unicode text.
Decorator borderStyled(BorderStyle)
Same as border but with different styles.
Element separator()
Draw a vertical or horizontal separation in between two other elements.
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.