ttx 0.1.0
Loading...
Searching...
No Matches
ttx::GraphicsRendition Struct Reference

#include </home/runner/work/ttx/ttx/lib/include/ttx/graphics_rendition.h>

Public Member Functions

void update_with_csi_params (Params const &params)
 
auto as_csi_params () const -> di::Vector< Params >
 
auto operator== (GraphicsRendition const &other) const -> bool=default
 

Static Public Member Functions

static auto from_csi_params (Params const &params)
 

Public Attributes

Color fg {}
 
Color bg {}
 
Color underline_color {}
 
FontWeight font_weight { FontWeight::None }
 
BlinkMode blink_mode { BlinkMode::None }
 
UnderlineMode underline_mode { UnderlineMode::None }
 
bool italic { false }
 
bool overline { false }
 
bool inverted { false }
 
bool invisible { false }
 
bool strike_through { false }
 

Friends

constexpr friend auto tag_invoke (di::Tag< di::reflect >, di::InPlaceType< GraphicsRendition >)
 

Member Function Documentation

◆ as_csi_params()

auto ttx::GraphicsRendition::as_csi_params ( ) const -> di::Vector<Params>

◆ from_csi_params()

static auto ttx::GraphicsRendition::from_csi_params ( Params const & params)
inlinestatic

◆ operator==()

auto ttx::GraphicsRendition::operator== ( GraphicsRendition const & other) const -> bool=default
default

◆ update_with_csi_params()

void ttx::GraphicsRendition::update_with_csi_params ( Params const & params)

Friends And Related Symbol Documentation

◆ tag_invoke

friend auto tag_invoke ( di::Tag< di::reflect > ,
di::InPlaceType< GraphicsRendition >  )
friend

Member Data Documentation

◆ bg

Color ttx::GraphicsRendition::bg {}

◆ blink_mode

BlinkMode ttx::GraphicsRendition::blink_mode { BlinkMode::None }

◆ fg

Color ttx::GraphicsRendition::fg {}

◆ font_weight

FontWeight ttx::GraphicsRendition::font_weight { FontWeight::None }

◆ inverted

bool ttx::GraphicsRendition::inverted { false }

◆ invisible

bool ttx::GraphicsRendition::invisible { false }

◆ italic

bool ttx::GraphicsRendition::italic { false }

◆ overline

bool ttx::GraphicsRendition::overline { false }

◆ strike_through

bool ttx::GraphicsRendition::strike_through { false }

◆ underline_color

Color ttx::GraphicsRendition::underline_color {}

◆ underline_mode

UnderlineMode ttx::GraphicsRendition::underline_mode { UnderlineMode::None }

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