FTXUI  5.0.0
C++ functional terminal UI.
Pixel Struct Reference

A unicode character and its associated style. More...

Public Member Functions

 Pixel ()
 

Data Fields

bool blink: 1
 
bool bold: 1
 
bool dim: 1
 
bool inverted: 1
 
bool underlined: 1
 
bool underlined_double: 1
 
bool strikethrough: 1
 
bool automerge: 1
 
uint8_t hyperlink = 0
 
std::string character = " "
 
Color background_color = Color::Default
 
Color foreground_color = Color::Default
 

Detailed Description

A unicode character and its associated style.

Examples
examples/component/canvas_animated.cpp, and examples/dom/canvas.cpp.

Definition at line 20 of file screen.hpp.

Constructor & Destructor Documentation

◆ Pixel()

Pixel ( )
inline

Definition at line 21 of file screen.hpp.

Field Documentation

◆ blink

bool blink

Definition at line 32 of file screen.hpp.

◆ bold

bool bold
Examples
examples/component/canvas_animated.cpp.

Definition at line 33 of file screen.hpp.

◆ dim

bool dim

Definition at line 34 of file screen.hpp.

◆ inverted

bool inverted

Definition at line 35 of file screen.hpp.

◆ underlined

bool underlined

◆ underlined_double

bool underlined_double

Definition at line 37 of file screen.hpp.

◆ strikethrough

bool strikethrough

Definition at line 38 of file screen.hpp.

◆ automerge

bool automerge

Definition at line 39 of file screen.hpp.

◆ hyperlink

uint8_t hyperlink = 0

Definition at line 43 of file screen.hpp.

◆ character

std::string character = " "

Definition at line 47 of file screen.hpp.

◆ background_color

Color background_color = Color::Default

Definition at line 50 of file screen.hpp.

◆ foreground_color

Color foreground_color = Color::Default

The documentation for this struct was generated from the following file: