persona-3-dual
A DS demake of Persona 3
Loading...
Searching...
No Matches
TextTypes.hpp File Reference
#include <cstdint>
#include <cstdlib>
#include <string>
Include dependency graph for TextTypes.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Glyph
 Stores data for a single glyph (character) in a font. More...
struct  Font
 Stores data for a font. More...
struct  Text
 A struct that represents a block of text being rendered on the screen. More...
struct  TextConfig
 A struct that holds initial config values for the TextComponent. More...

Enumerations

enum  TextColor {
  Transparent = 0 , Black = 235 , White = 236 , DualGreen = 237 ,
  DualGreen2 = 238 , DarkGreen = 239 , DarkerGreen = 240 , DarkestGreen = 241 ,
  LightBlue = 242 , RichBlue = 243 , DarkBlue = 244 , NavyBlue = 245 ,
  DarkestBlue = 246 , LightOrange = 247 , LightPurple = 248 , Red = 249 ,
  Green = 250 , Blue = 251 , Yellow = 252 , Magenta = 253 ,
  Cyan = 254 , Gray = 255
}
 Human Readable enum for text colors. More...
enum  TextInstruction {
  ColorChange = 0x01 , StyleChange = 0x02 , StyleBold = 0x01 , StyleItalic = 0x02 ,
  StyleUnderline = 0x04 , Reset = 0xFF
}
 Human readable enum for text instructions. More...

Variables

constexpr unsigned char TextInstructionMarker = 0xFF

Enumeration Type Documentation

◆ TextColor

enum TextColor

Human Readable enum for text colors.

Enumerator
Transparent 
Black 
White 
DualGreen 
DualGreen2 
DarkGreen 
DarkerGreen 
DarkestGreen 
LightBlue 
RichBlue 
DarkBlue 
NavyBlue 
DarkestBlue 
LightOrange 
LightPurple 
Red 
Green 
Blue 
Yellow 
Magenta 
Cyan 
Gray 

Definition at line 10 of file TextTypes.hpp.

◆ TextInstruction

Human readable enum for text instructions.

Enumerator
ColorChange 
StyleChange 
StyleBold 
StyleItalic 
StyleUnderline 
Reset 

Definition at line 39 of file TextTypes.hpp.

Variable Documentation

◆ TextInstructionMarker

unsigned char TextInstructionMarker = 0xFF
inlineconstexpr

Definition at line 49 of file TextTypes.hpp.