TermOx
|
Holds a description of a paintable tile on the screen. More...
#include <glyph.hpp>
Public Member Functions | |
constexpr | Glyph ()=default |
Construct an invisible Glyph, defaults to space and no traits/colors. | |
constexpr | Glyph (char32_t sym, Brush b) |
Construct a Glyph with the provided char32_t and Brush. | |
template<typename... Items> | |
constexpr | Glyph (char32_t sym, Items... items) |
Construct with the provided char32_t and list of Traits and Colors. | |
constexpr | Glyph (char sym, Brush b) |
Construct a Glyph with the provided char and Brush. | |
template<typename... Items> | |
constexpr | Glyph (char sym, Items... items) |
Construct with the provided char32_t and list of Traits and Colors. | |
Public Attributes | |
char32_t | symbol = U'\0' |
The Glyph's symbol is the wide character that will be displayed. | |
Brush | brush = Brush{} |
The Brush that will determine the Traits and Colors of the symbol. | |
Holds a description of a paintable tile on the screen.
sizeof(Glyph) == 8 Bytes && alignof(Glyph) == 4 Bytes.