summaryrefslogtreecommitdiff
path: root/include/JSystem/J2DGraph/J2DTextBox.h
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2024-05-10 23:53:18 -0700
committerGitHub <noreply@github.com>2024-05-11 09:53:18 +0300
commit486e578065a0d5aa41bcae56ee0bc1b9ed0d6e42 (patch)
tree7e9fa16cfe446a9919fa688f86b3e12669feae02 /include/JSystem/J2DGraph/J2DTextBox.h
parentc064a30356d34bc9d1f88b6272899455d7098eed (diff)
d_msg_scrn_3select done (#2153)
* msg_scrn_3select done * remove asm * d_msg_scrn_jimaku done
Diffstat (limited to 'include/JSystem/J2DGraph/J2DTextBox.h')
-rw-r--r--include/JSystem/J2DGraph/J2DTextBox.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/JSystem/J2DGraph/J2DTextBox.h b/include/JSystem/J2DGraph/J2DTextBox.h
index 2a64b83493..569c7a9b0f 100644
--- a/include/JSystem/J2DGraph/J2DTextBox.h
+++ b/include/JSystem/J2DGraph/J2DTextBox.h
@@ -137,6 +137,7 @@ public:
JUtility::TColor getCharColor() { return mCharColor; }
JUtility::TColor getGradColor() { return mGradientColor; }
+ u16 getStringAllocByte() const { return mStringLength; }
// private:
/* 0x0100 */ JUTFont* mFont;
@@ -153,7 +154,7 @@ public:
/* 0x012C */ JUtility::TColor mBlackColor;
/* 0x0130 */ u8 mFlags;
/* 0x0131 */ bool mTextFontOwned;
- /* 0x0132 */ s16 mStringLength;
+ /* 0x0132 */ u16 mStringLength;
/* 0x0134 */ u8 field_0x134[4];
}; // Size: 0x138