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

A struct that holds initial config values for the TextComponent. More...

#include <TextTypes.hpp>

Public Member Functions

 TextConfig ()=default
 TextConfig (uint16_t *iVideoBuffer, std::string *iFontNamePath, int iFontSize)
 load font (loads font, font bitmap, font metadata. NOT font palette)
 TextConfig (uint16_t *iVideoBuffer, std::string *iFontPalettePath, bool iIsSub)
 load font palette

Public Attributes

uint16_t * videoBuffer = nullptr
std::string * fontNamePath = nullptr
 for loadFont
int fontSize
std::string * fontBitmapPath = nullptr
 for loadFontBitmap
std::string * fontPalettePath = nullptr
 for loadPalette
bool isSub
std::string * fontMetadataPath = nullptr
 for loadFontMetadata
bool isBoldBitmap

Detailed Description

A struct that holds initial config values for the TextComponent.

Definition at line 129 of file TextTypes.hpp.

Constructor & Destructor Documentation

◆ TextConfig() [1/3]

TextConfig::TextConfig ( )
default

◆ TextConfig() [2/3]

TextConfig::TextConfig ( uint16_t * iVideoBuffer,
std::string * iFontNamePath,
int iFontSize )
inline

load font (loads font, font bitmap, font metadata. NOT font palette)

Definition at line 151 of file TextTypes.hpp.

◆ TextConfig() [3/3]

TextConfig::TextConfig ( uint16_t * iVideoBuffer,
std::string * iFontPalettePath,
bool iIsSub )
inline

load font palette

Definition at line 157 of file TextTypes.hpp.

Member Data Documentation

◆ fontBitmapPath

std::string* TextConfig::fontBitmapPath = nullptr

for loadFontBitmap

Definition at line 138 of file TextTypes.hpp.

◆ fontMetadataPath

std::string* TextConfig::fontMetadataPath = nullptr

for loadFontMetadata

Definition at line 145 of file TextTypes.hpp.

◆ fontNamePath

std::string* TextConfig::fontNamePath = nullptr

for loadFont

Definition at line 134 of file TextTypes.hpp.

◆ fontPalettePath

std::string* TextConfig::fontPalettePath = nullptr

for loadPalette

Definition at line 141 of file TextTypes.hpp.

◆ fontSize

int TextConfig::fontSize

Definition at line 135 of file TextTypes.hpp.

◆ isBoldBitmap

bool TextConfig::isBoldBitmap

Definition at line 146 of file TextTypes.hpp.

◆ isSub

bool TextConfig::isSub

Definition at line 142 of file TextTypes.hpp.

◆ videoBuffer

uint16_t* TextConfig::videoBuffer = nullptr

Definition at line 131 of file TextTypes.hpp.


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