4 #ifndef FTXUI_DOM_NODE_HPP
5 #define FTXUI_DOM_NODE_HPP
19 using Element = std::shared_ptr<Node>;
20 using Elements = std::vector<Element>;
Node & operator=(const Node &)=delete
virtual void SetBox(Box box)
Assign a position and a dimension to an element for drawing.
Requirement requirement()
Node & operator=(const Node &&)=delete
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.
Node(const Node &)=delete
Node(const Node &&)=delete
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.