FTXUI 6.1.9
C++ functional terminal UI.
Loading...
Searching...
No Matches
NodeDecorator Class Reference

#include <node_decorator.hpp>

+ Inheritance diagram for NodeDecorator:

Public Member Functions

 NodeDecorator (Element child)
 
void ComputeRequirement () override
 要素が必要とするスペースを計算します。
 
void SetBox (Box box) override
 描画のために要素に位置と次元を割り当てます。
 
Requirement requirement ()
 
virtual void Select (Selection &selection)
 要素の選択を計算します。
 
virtual void Render (Screen &screen)
 要素をftxui::Screenに表示します。
 
virtual std::string GetSelectedContent (Selection &selection)
 
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)
inlineexplicit

Definition at line 18 of file node_decorator.hpp.

Member Function Documentation

◆ ComputeRequirement()

void ComputeRequirement ( )
overridevirtual

要素が必要とするスペースを計算します。

Reimplemented from Node.

Definition at line 11 of file node_decorator.cpp.

◆ SetBox()

void SetBox ( Box box)
overridevirtual

描画のために要素に位置と次元を割り当てます。

Reimplemented from Node.

Definition at line 16 of file node_decorator.cpp.

◆ requirement()

Requirement requirement ( )
inlineinherited

Definition at line 50 of file node.hpp.

◆ Select()

void Select ( Selection & selection)
virtualinherited

要素の選択を計算します。

Definition at line 46 of file node.cpp.

◆ Render()

void Render ( Screen & screen)
virtualinherited

要素をftxui::Screenに表示します。

Definition at line 59 of file node.cpp.

◆ GetSelectedContent()

std::string GetSelectedContent ( Selection & selection)
virtualinherited

Definition at line 72 of file node.cpp.

◆ Check()

void Check ( Status * status)
virtualinherited

Definition at line 65 of file node.cpp.

Member Data Documentation

◆ children_

Elements children_
protectedinherited

Definition at line 76 of file node.hpp.

◆ requirement_

Requirement requirement_
protectedinherited

Definition at line 77 of file node.hpp.

◆ box_

Box box_
protectedinherited

Definition at line 78 of file node.hpp.


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