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

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

Public Member Functions

 Pixel ()
 

Data Fields

std::string character = " "
 
Color background_color = Color::Default
 
Color foreground_color = Color::Default
 
bool blink: 1
 
bool bold: 1
 
bool dim: 1
 
bool inverted: 1
 
bool underlined: 1
 

Detailed Description

A unicode character and its associated style.

Definition at line 16 of file screen.hpp.

Constructor & Destructor Documentation

◆ Pixel()

Pixel ( )
inline

Definition at line 32 of file screen.hpp.

Field Documentation

◆ character

std::string character = " "

Definition at line 19 of file screen.hpp.

◆ background_color

Color background_color = Color::Default

Definition at line 22 of file screen.hpp.

◆ foreground_color

Color foreground_color = Color::Default

Definition at line 23 of file screen.hpp.

◆ blink

bool blink

Definition at line 26 of file screen.hpp.

◆ bold

bool bold

Definition at line 27 of file screen.hpp.

◆ dim

bool dim

Definition at line 28 of file screen.hpp.

◆ inverted

bool inverted

Definition at line 29 of file screen.hpp.

◆ underlined

bool underlined

Definition at line 30 of file screen.hpp.


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