persona-3-dual
A DS demake of Persona 3
Loading...
Searching...
No Matches
Text Struct Reference

A struct that represents a block of text being rendered on the screen. More...

#include <TextTypes.hpp>

Collaboration diagram for Text:

Public Attributes

int cursorX
int cursorY
int startX
int startY
std::string content
Font * font
uint16_t * videoBuffer
int cursorPos
int baseColor
int activeColor
int counter
bool bold
bool italic
bool underline
int letterSpacing
int lineSpacing
int spaceWidth
int maxX = 256
 Right edge (exclusive) used for word wrapping.
int maxY = 0
 Bottom edge used for pagination. 0 disables pagination.
bool pageBreak = false
 Set when the next glyph would not fit above maxY. Output pauses until the next page is requested.
bool hyphenate = false

Detailed Description

A struct that represents a block of text being rendered on the screen.

Definition at line 97 of file TextTypes.hpp.

Member Data Documentation

◆ activeColor

int Text::activeColor

Definition at line 108 of file TextTypes.hpp.

◆ baseColor

int Text::baseColor

Definition at line 107 of file TextTypes.hpp.

◆ bold

bool Text::bold

Definition at line 110 of file TextTypes.hpp.

◆ content

std::string Text::content

Definition at line 103 of file TextTypes.hpp.

◆ counter

int Text::counter

Definition at line 109 of file TextTypes.hpp.

◆ cursorPos

int Text::cursorPos

Definition at line 106 of file TextTypes.hpp.

◆ cursorX

int Text::cursorX

Definition at line 99 of file TextTypes.hpp.

◆ cursorY

int Text::cursorY

Definition at line 100 of file TextTypes.hpp.

◆ font

Font* Text::font

Definition at line 104 of file TextTypes.hpp.

◆ hyphenate

bool Text::hyphenate = false

Definition at line 123 of file TextTypes.hpp.

◆ italic

bool Text::italic

Definition at line 111 of file TextTypes.hpp.

◆ letterSpacing

int Text::letterSpacing

Definition at line 113 of file TextTypes.hpp.

◆ lineSpacing

int Text::lineSpacing

Definition at line 114 of file TextTypes.hpp.

◆ maxX

int Text::maxX = 256

Right edge (exclusive) used for word wrapping.

Definition at line 118 of file TextTypes.hpp.

◆ maxY

int Text::maxY = 0

Bottom edge used for pagination. 0 disables pagination.

Definition at line 120 of file TextTypes.hpp.

◆ pageBreak

bool Text::pageBreak = false

Set when the next glyph would not fit above maxY. Output pauses until the next page is requested.

Definition at line 122 of file TextTypes.hpp.

◆ spaceWidth

int Text::spaceWidth

Definition at line 115 of file TextTypes.hpp.

◆ startX

int Text::startX

Definition at line 101 of file TextTypes.hpp.

◆ startY

int Text::startY

Definition at line 102 of file TextTypes.hpp.

◆ underline

bool Text::underline

Definition at line 112 of file TextTypes.hpp.

◆ videoBuffer

uint16_t* Text::videoBuffer

Definition at line 105 of file TextTypes.hpp.


The documentation for this struct was generated from the following file: