FTXUI
6.1.9
C++ functional terminal UI.
载入中...
搜索中...
未找到
node.cppm
浏览该文件的文档.
1
/// @module ftxui.dom:Node
2
/// @brief DOM 模块中 Node 类的模块文件
3
4
module
;
5
6
#include <
ftxui/dom/node.hpp
>
7
8
export
module
ftxui.dom:Node
;
9
10
/**
11
* @namespace ftxui
12
* @brief FTXUI ftxui:: 命名空间
13
*/
14
export
namespace
ftxui
{
15
using
ftxui::Node
;
16
using
ftxui::Screen
;
17
18
using
ftxui::Element
;
19
using
ftxui::Elements
;
20
21
using
ftxui::Render;
22
using
ftxui::GetNodeSelectedContent;
23
}
ftxui::Node
Node 是 DOM 树中所有元素的基类。
定义
node.hpp:33
ftxui::Screen
像素的矩形网格。
定义
screen.hpp:26
ftxui.dom
FTXUI DOM 操作的模块文件。
ftxui
#include "ftxui/component/component_base.hpp" // 用于 ComponentBase
定义
animation.hpp:9
ftxui::Element
std::shared_ptr< Node > Element
定义
elements.hpp:22
ftxui::Elements
std::vector< Element > Elements
定义
elements.hpp:23
node.hpp