TextInstruction
Human readable enum for text instructions.
constexpr unsigned char TextInstructionMarker
TextColor
Human Readable enum for text colors.
TextConfig(uint16_t *iVideoBuffer, std::string *iFontNamePath, int iFontSize)
load font (loads font, font bitmap, font metadata. NOT font palette)
std::string * fontPalettePath
for loadPalette
std::string * fontBitmapPath
for loadFontBitmap
std::string * fontMetadataPath
for loadFontMetadata
std::string * fontNamePath
for loadFont
TextConfig(uint16_t *iVideoBuffer, std::string *iFontPalettePath, bool iIsSub)
load font palette
A struct that represents a block of text being rendered on the screen.
int maxY
Bottom edge used for pagination. 0 disables pagination.
bool pageBreak
Set when the next glyph would not fit above maxY. Output pauses until the next page is requested.
int maxX
Right edge (exclusive) used for word wrapping.