FTXUI  5.0.0
C++ functional terminal UI.
NodeDecorator Class Reference
+ Inheritance diagram for NodeDecorator:

Public Member Functions

 NodeDecorator (Element child)
 
void ComputeRequirement () override
 Compute how much space an elements needs. More...
 
void SetBox (Box box) override
 Assign a position and a dimension to an element for drawing. More...
 
Requirement requirement ()
 
virtual void Render (Screen &screen)
 Display an element on a ftxui::Screen. More...
 
virtual void Check (Status *status)
 

Protected Attributes

Elements children_
 
Requirement requirement_
 
Box box_
 

Detailed Description

Definition at line 16 of file node_decorator.hpp.

Constructor & Destructor Documentation

◆ NodeDecorator()

NodeDecorator ( Element  child)
inline

Definition at line 18 of file node_decorator.hpp.

Member Function Documentation

◆ ComputeRequirement()

void ComputeRequirement ( )
overridevirtual

Compute how much space an elements needs.

Reimplemented from Node.

Definition at line 14 of file node_decorator.cpp.

◆ SetBox()

void SetBox ( Box  box)
overridevirtual

Assign a position and a dimension to an element for drawing.

Reimplemented from Node.

Definition at line 19 of file node_decorator.cpp.

◆ requirement()

Requirement requirement ( )
inlineinherited

Definition at line 37 of file node.hpp.

◆ Render()

void Render ( Screen screen)
virtualinherited

Display an element on a ftxui::Screen.

Definition at line 32 of file node.cpp.

◆ Check()

void Check ( Status status)
virtualinherited

Definition at line 38 of file node.cpp.

Field Documentation

◆ children_

Elements children_
protectedinherited

Definition at line 56 of file node.hpp.

◆ requirement_

Requirement requirement_
protectedinherited

Definition at line 57 of file node.hpp.

◆ box_

Box box_
protectedinherited

Definition at line 58 of file node.hpp.


The documentation for this class was generated from the following files: