FTXUI 6.1.9
C++ functional terminal UI.
载入中...
搜索中...
未找到
flexbox.cpp 文件参考

浏览该文件的源代码.

命名空间

namespace  ftxui
 #include "ftxui/component/component_base.hpp" // 用于 ComponentBase
 

函数

Element flexbox (Elements children, FlexboxConfig config)
 一个容器,用于在行/列中显示元素,并且在填满时能够换行到下一列/行。
 
Element hflow (Elements children)
 一个容器,用于从左到右在行中显示元素。当填满时,它会在下方开始新的一行。
 
Element vflow (Elements children)
 一个容器,用于从上到下在行中显示元素。当填满时,它会在右侧开始新的一列。
 

变量说明

◆ asked_

int asked_ = 6000

在文件 flexbox.cpp221 行定义.

◆ need_iteration_

bool need_iteration_ = true

在文件 flexbox.cpp222 行定义.

◆ config_

const FlexboxConfig config_

在文件 flexbox.cpp223 行定义.

◆ config_normalized_

const FlexboxConfig config_normalized_

在文件 flexbox.cpp224 行定义.

◆ global_

flexbox_helper::Global global_

在文件 flexbox.cpp225 行定义.