23#define KTECH_DEFINITION
24#include "../ktech.hpp"
25#undef KTECH_DEFINITION
27#include "../utility/rgbcolors.hpp"
42 constexpr Cell(
char character =
' ',
RGB foreground = RGBColors::black,
RGB background = RGBColors::black)
43 :
c(character),
f{foreground},
b(background) {}
52 return (
c == cell.c) && (
f == cell.f) && (
b == cell.
b);
Terminal cell comprising RGB foreground (character) color, RGB background color, and an ASCII charact...
Definition cell.hpp:31
constexpr auto operator==(const Cell &cell) const -> bool
Compare 2 Cells.
Definition cell.hpp:50
char c
ASCII character.
Definition cell.hpp:32
RGB f
Foreground (character) color.
Definition cell.hpp:33
constexpr Cell(char character=' ', RGB foreground=RGBColors::black, RGB background=RGBColors::black)
Construct a Cell.
Definition cell.hpp:42
RGB b
Background color.
Definition cell.hpp:34
24-bit color, able of representing 16,777,216 (2^24) different colors.
Definition rgb.hpp:29
uint8_t b
Blue primary color.
Definition rgb.hpp:32