FTXUI 6.1.9
C++ functional terminal UI.
Loading...
Searching...
No Matches
node.cppm
Go to the documentation of this file.
1/// @module ftxui.dom.node
2/// @brief Module file for the Node class of the Dom module
3
4module;
5
6#include <ftxui/dom/node.hpp>
7
8export module ftxui.dom.node;
9
10/**
11 * @namespace ftxui
12 * @brief The FTXUI ftxui:: namespace
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;
23}
Node is the base class for all elements in the DOM tree.
Definition node.hpp:37
void Render(Screen &screen, const Element &element)
Display an element on a ftxui::Screen.
Definition node.cpp:84
A rectangular grid of Pixel.
Definition screen.hpp:27
Module file for the Node class of the Dom module.
The FTXUI ftxui:: namespace.
Definition animation.hpp:10
std::string GetNodeSelectedContent(Screen &screen, Node *node, Selection &selection)
Definition node.cpp:168
std::shared_ptr< Node > Element
Definition elements.hpp:22
std::vector< Element > Elements
Definition elements.hpp:23