NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
nw4r::lyt::res::TextBox Struct Reference
Inheritance diagram for nw4r::lyt::res::TextBox:
[legend]

Description

Definition at line 36 of file lyt_textBox.h.

Public Attributes

u16 textBufBytes
 
u16 textStrBytes
 
u16 materialIdx
 
u16 fontIdx
 
u8 textPosition
 
u8 textAlignment
 
u8 PADDING_0x56 [0x58 - 0x56]
 
ulong textStrOffset
 
ulong textCols [TEXTCOLOR_MAX]
 
Size fontSize
 
f32 charSpace
 
f32 lineSpace
 
- Public Attributes inherited from nw4r::lyt::res::Pane
DataBlockHeader blockHeader
 
u8 flag
 
u8 basePosition
 
u8 alpha
 
u8 padding
 
char name [NW4R_LYT_RES_NAME_LEN]
 
char userData [NW4R_LYT_PANE_USERDATA_LEN]
 
math::VEC3 translate
 
math::VEC3 rotate
 
math::VEC2 scale
 
Size size
 

Static Public Attributes

static const ulong SIGNATURE = 'txt1'
 
- Static Public Attributes inherited from nw4r::lyt::res::Pane
static const ulong SIGNATURE = 'pan1'
 

Member Data Documentation

◆ SIGNATURE

const ulong nw4r::lyt::res::TextBox::SIGNATURE = 'txt1'
static

Definition at line 37 of file lyt_textBox.h.

◆ textBufBytes

u16 nw4r::lyt::res::TextBox::textBufBytes

Definition at line 39 of file lyt_textBox.h.

◆ textStrBytes

u16 nw4r::lyt::res::TextBox::textStrBytes

Definition at line 40 of file lyt_textBox.h.

◆ materialIdx

u16 nw4r::lyt::res::TextBox::materialIdx

Definition at line 41 of file lyt_textBox.h.

◆ fontIdx

u16 nw4r::lyt::res::TextBox::fontIdx

Definition at line 42 of file lyt_textBox.h.

◆ textPosition

u8 nw4r::lyt::res::TextBox::textPosition

Definition at line 43 of file lyt_textBox.h.

◆ textAlignment

u8 nw4r::lyt::res::TextBox::textAlignment

Definition at line 44 of file lyt_textBox.h.

◆ PADDING_0x56

u8 nw4r::lyt::res::TextBox::PADDING_0x56[0x58 - 0x56]

Definition at line 45 of file lyt_textBox.h.

◆ textStrOffset

ulong nw4r::lyt::res::TextBox::textStrOffset

Definition at line 46 of file lyt_textBox.h.

◆ textCols

ulong nw4r::lyt::res::TextBox::textCols[TEXTCOLOR_MAX]

Definition at line 47 of file lyt_textBox.h.

◆ fontSize

Size nw4r::lyt::res::TextBox::fontSize

Definition at line 48 of file lyt_textBox.h.

◆ charSpace

f32 nw4r::lyt::res::TextBox::charSpace

Definition at line 49 of file lyt_textBox.h.

◆ lineSpace

f32 nw4r::lyt::res::TextBox::lineSpace

Definition at line 50 of file lyt_textBox.h.