FTXUI 6.1.9
C++ functional terminal UI.
载入中...
搜索中...
未找到
node.cppm
浏览该文件的文档.
1/// @module ftxui.dom:Node
2/// @brief DOM 模块中 Node 类的模块文件
3
4module;
5
6#include <ftxui/dom/node.hpp>
7
8export module ftxui.dom:Node;
9
10/**
11 * @namespace ftxui
12 * @brief FTXUI ftxui:: 命名空间
13 */
14export 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}
Node 是 DOM 树中所有元素的基类。
像素的矩形网格。
FTXUI DOM 操作的模块文件。
#include "ftxui/component/component_base.hpp" // 用于 ComponentBase
std::shared_ptr< Node > Element
std::vector< Element > Elements