4#ifndef FTXUI_DOM_ELEMENTS_HPP
5#define FTXUI_DOM_ELEMENTS_HPP
64Element separatorCharacter(std::string);
67 Color unselected_color,
68 Color selected_color);
69Element separatorVSelector(
float up,
71 Color unselected_color,
72 Color selected_color);
74Element gaugeLeft(
float progress);
75Element gaugeRight(
float progress);
77Element gaugeDown(
float progress);
91Element spinner(
int charset_index,
size_t image_index);
92Element paragraph(
const std::string& text);
93Element paragraphAlignLeft(
const std::string& text);
94Element paragraphAlignRight(
const std::string& text);
95Element paragraphAlignCenter(
const std::string& text);
96Element paragraphAlignJustify(
const std::string& text);
99Element canvas(ConstRef<Canvas>);
100Element canvas(
int width,
int height, std::function<
void(Canvas&)>);
101Element canvas(std::function<
void(Canvas&)>);
121Decorator focusPositionRelative(
float x,
float y);
126Decorator selectionColor(Color foreground);
127Decorator selectionBackgroundColor(Color foreground);
128Decorator selectionForegroundColor(Color foreground);
129Decorator selectionStyle(std::function<
void(Pixel&)> style);
137Element gridbox(std::vector<Elements> lines);
206#include "ftxui/dom/take_any_args.hpp"
Direction
Direction is an enumeration that represents the four cardinal directions.
BorderStyle
BorderStyle is an enumeration that represents the different styles of borders that can be applied to ...
Dimensions is a structure that represents the size of the terminal.
Dimensions Fit(Element &, bool extend_beyond_screen=false)
The FTXUI ftxui:: namespace.
std::function< Element(Element)> Decorator
std::shared_ptr< Node > Element
std::vector< Element > Elements
std::function< std::vector< int >(int, int)> GraphFunction