20 child->ComputeRequirement();
34 child->Render(screen);
48 Render(screen, element.get());
62 const int max_iterations = 20;
virtual void SetBox(Box box)
Assign a position and a dimension to an element for drawing.
virtual void ComputeRequirement()
Compute how much space an elements needs.
virtual void Check(Status *status)
virtual void Render(Screen &screen)
Display an element on a ftxui::Screen.
A rectangular grid of Pixel.
std::shared_ptr< Node > Element
std::vector< Element > Elements
void Render(Screen &screen, const Element &element)
Display an element on a ftxui::Screen.