ftxui::Pixel
#include <ftxui/screen/screen.hpp>A unicode character and its associated style.
Examples: component/canvas_animated, dom/canvas
Summary
| Symbol | Description |
|---|---|
character | |
background_color | |
foreground_color | |
blink | |
bold | |
dim | |
inverted | |
underlined | |
automerge | |
operator== | |
Pixel |
Public Attributes
character
std::string character = " ";background_color
foreground_color
Examples: component/canvas_animated, dom/canvas
blink
bool blink;Examples: dom/style_blink, dom/style_gallery
bold
bool bold;Examples: component/canvas_animated, component/flexbox_gallery, component/homescreen, component/menu2, component/menu_entries, component/menu_style, component/modal_dialog, component/renderer, dom/hflow, dom/html_like, dom/package_manager, dom/size (+5 more)
dim
bool dim;Examples: component/flexbox_gallery, component/homescreen, component/menu_style, dom/hflow, dom/html_like, dom/package_manager, dom/size, dom/style_dim, dom/style_gallery, dom/vflow
inverted
bool inverted;Examples: 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
automerge
bool automerge;Public Member Functions
operator==
bool operator==(const Pixel & other) const;Pixel
Pixel();Examples: component/canvas_animated, dom/canvas