#include <memory>
int main() {
auto document =
text(
"hyperlink") |
hyperlink(
"https://github.com/ArthurSonzogni/FTXUI"),
});
screen.Print();
return 0;
}
Dimensions Fit(Element &)
Decorator bgcolor(Color)
Decorate using a background color.
Element underlinedDouble(Element)
Apply a underlinedDouble to text.
Element bold(Element)
Use a bold font, for elements with more emphasis.
Element hbox(Elements)
A container displaying elements horizontally one by one.
Element underlined(Element)
Make the underlined element to be underlined.
Element inverted(Element)
Add a filter that will invert the foreground and the background colors.
Element text(std::wstring text)
Display a piece of unicode text.
Element strikethrough(Element)
Apply a strikethrough to text.
Element dim(Element)
Use a light font, for elements with less emphasis.
Decorator hyperlink(std::string link)
Decorate using an hyperlink. The link will be opened when the user click on it. This is supported onl...
void Render(Screen &screen, const Element &element)
Display an element on a ftxui::Screen.
Element blink(Element)
The text drawn alternates in between visible and hidden.
Decorator color(Color)
Decorate using a foreground color.