ftxui::Cell
#include <ftxui/screen/cell.hpp>A Unicode character and its associated style.
Note
This struct was previously named Pixel.
Examples: component/canvas_animated, component/selection, dom/canvas
Summary
| Symbol | Description |
|---|---|
blink | |
bold | |
dim | |
italic | |
inverted | |
underlined | |
underlined_double | |
strikethrough | |
automerge | |
hyperlink | |
character | |
background_color | |
foreground_color | |
Cell |
Public Attributes
blink
bool blink;Examples: dom/style_blink, dom/style_gallery
bold
bool bold;Examples: component/button, component/canvas_animated, component/dropdown_custom, component/flexbox_gallery, component/homescreen, component/menu2, component/menu_entries, component/menu_style, component/modal_dialog_custom, component/renderer, dom/hflow, dom/html_like (+7 more)
dim
bool dim;Examples: component/flexbox_gallery, component/homescreen, component/input_style, component/menu_style, component/terminal_info, dom/hflow, dom/html_like, dom/package_manager, dom/size, dom/style_dim, dom/style_gallery, dom/vflow
italic
bool italic;Examples: dom/style_gallery, dom/style_italic
inverted
bool inverted;Examples: component/dropdown_custom, component/menu_entries, component/menu_underline_animated_gallery, dom/graph, dom/style_gallery, dom/style_inverted
underlined
bool underlined;Examples: component/canvas_animated, dom/canvas, dom/html_like, dom/style_gallery, dom/style_underlined
underlined_double
bool underlined_double;Examples: component/selection
strikethrough
bool strikethrough;Examples: dom/style_gallery, dom/style_strikethrough
automerge
bool automerge;hyperlink
uint8_t hyperlink = 0;Examples: dom/style_gallery, dom/style_hyperlink
character
std::string character = "";background_color
foreground_color
Examples: component/canvas_animated, dom/canvas
Public Member Functions
Cell
Cell();Examples: component/canvas_animated, component/selection, dom/canvas