FTXUI
0.8.1
C++ functional terminal UI.
|
Go to the documentation of this file. 1 #ifndef FTXUI_DOM_NODE_HPP
2 #define FTXUI_DOM_NODE_HPP
16 using Element = std::shared_ptr<Node>;
17 using Elements = std::vector<Element>;
virtual void SetBox(Box box)
Assign a position and a dimension to an element for drawing.
virtual void Render(Screen &screen)
Display an element on a ftxui::Screen.
Requirement requirement()
std::vector< Element > Elements
std::shared_ptr< Node > Element
A rectangular grid of Pixel.
void Render(Screen &screen, const Element &node)
Display an element on a ftxui::Screen.
virtual void ComputeRequirement()
Compute how much space an elements needs.