Shared information for cells linked via text sizing protocol (OSC 66) or double width characters.
More...
#include <ttx/terminal/multi_cell_info.h>
Shared information for cells linked via text sizing protocol (OSC 66) or double width characters.
◆ compute_width()
auto ttx::terminal::MultiCellInfo::compute_width |
( |
| ) |
const -> u8 |
|
inlineconstexpr |
◆ operator<=>()
auto ttx::terminal::MultiCellInfo::operator<=> |
( |
MultiCellInfo const & | | ) |
const |
|
default |
◆ operator==()
auto ttx::terminal::MultiCellInfo::operator== |
( |
MultiCellInfo const & | | ) |
const -> bool=default |
|
default |
◆ tag_invoke
friend auto tag_invoke |
( |
di::Tag< di::reflect > | , |
|
|
di::InPlaceType< MultiCellInfo > | ) |
|
friend |
◆ fractional_scale_denominator
u8 ttx::terminal::MultiCellInfo::fractional_scale_denominator { 0 } |
Fractional scale denominator.
◆ fractional_scale_numerator
u8 ttx::terminal::MultiCellInfo::fractional_scale_numerator { 0 } |
Fractional scale numerator.
◆ horizontal_alignment
u8 ttx::terminal::MultiCellInfo::horizontal_alignment { 0 } |
Horizontal fractional scale alignment.
◆ scale
u8 ttx::terminal::MultiCellInfo::scale { 1 } |
Vertiacl scale for the cell. This is applied multiplicatively to the width.
◆ vertical_alignment
u8 ttx::terminal::MultiCellInfo::vertical_alignment { 0 } |
Vertical fractional scale alignment.
◆ width
u8 ttx::terminal::MultiCellInfo::width { 0 } |
Width in cells. When specified as 0 via OSC 66, the width is inferred.
The documentation for this struct was generated from the following file: