coastline 0.0.4
Loading...
Searching...
No Matches
coastline::TextCell Struct Reference

A cell of the grid. More...

#include <textgrid.h>

Collaboration diagram for coastline::TextCell:

Public Attributes

std::uint8_t glyph = ' '
CgaColor foreground = CgaColor::LightGray
CgaColor background = CgaColor::Blue
bool underline = false

Detailed Description

A cell of the grid.

Member Data Documentation

◆ glyph

std::uint8_t coastline::TextCell::glyph = ' '

The character, in code page 437.

◆ foreground

CgaColor coastline::TextCell::foreground = CgaColor::LightGray

The colour of the character.

◆ background

CgaColor coastline::TextCell::background = CgaColor::Blue

The colour behind the character.

◆ underline

bool coastline::TextCell::underline = false

Whether to draw an underline beneath this cell's glyph.


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