Terminal cell comprising RGB foreground (character) color, RGB background color, and an ASCII character.
More...
#include <cell.hpp>
|
| constexpr | Cell (char character=' ', RGB foreground=RGBColors::black, RGB background=RGBColors::black) |
| | Construct a Cell.
|
| |
| constexpr auto | operator== (const Cell &cell) const -> bool |
| | Compare 2 Cells.
|
| |
|
|
char | c |
| | ASCII character.
|
| |
|
RGB | f |
| | Foreground (character) color.
|
| |
|
RGB | b |
| | Background color.
|
| |
Terminal cell comprising RGB foreground (character) color, RGB background color, and an ASCII character.
◆ Cell()
| KTech::Cell::Cell |
( |
char | character = ' ', |
|
|
RGB | foreground = RGBColors::black, |
|
|
RGB | background = RGBColors::black ) |
|
inlineconstexpr |
Construct a Cell.
- Parameters
-
| [in] | character | ASCII character. |
| [in] | foreground | Foreground (character) color. |
| [in] | background | Background color. |
◆ operator==()
| auto KTech::Cell::operator== |
( |
const Cell & | cell | ) |
const -> bool
|
|
inlineconstexpr |
Compare 2 Cells.
- Parameters
-
| [in] | cell | The Cell to compare with this Cell. |
- Returns
true: the foreground colors, background colors, and characters are equal. false: they are unequal.
The documentation for this struct was generated from the following file: