summaryrefslogtreecommitdiff
path: root/include/JSystem/J2DGraph
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2024-11-12 02:41:55 -0800
committerGitHub <noreply@github.com>2024-11-12 05:41:55 -0500
commitebd7e3feed369cc482ec7b5f537c4d363f81eb60 (patch)
tree9b7ed830aeff3a3af912df33efdb56d90c3cff8b /include/JSystem/J2DGraph
parentf2a7b2a83a8976076eaf13d5754e6096a5887f24 (diff)
d_error_msg mostly done, little Z2LinkMgr work (#2248)
Diffstat (limited to 'include/JSystem/J2DGraph')
-rw-r--r--include/JSystem/J2DGraph/J2DTextBox.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/include/JSystem/J2DGraph/J2DTextBox.h b/include/JSystem/J2DGraph/J2DTextBox.h
index dc8604e26b..2663da7621 100644
--- a/include/JSystem/J2DGraph/J2DTextBox.h
+++ b/include/JSystem/J2DGraph/J2DTextBox.h
@@ -76,7 +76,11 @@ public:
/* 8021C7F4 */ virtual JUTFont* getFont() const { return mFont; }
/* 80254408 */ virtual bool setBlack(JUtility::TColor);
/* 80186C84 */ virtual bool setWhite(JUtility::TColor white) { mWhiteColor = white; return true; }
- /* 8019230C */ virtual bool setBlackWhite(JUtility::TColor, JUtility::TColor);
+ /* 8019230C */ virtual bool setBlackWhite(JUtility::TColor black, JUtility::TColor white) {
+ mBlackColor = black;
+ mWhiteColor = white;
+ return true;
+ }
/* 801DFA34 */ virtual JUtility::TColor getBlack() const {
return mBlackColor;
}
@@ -126,6 +130,14 @@ public:
mGradientColor = i_GradientColor;
}
+ void setCharColor(JUtility::TColor i_charColor) {
+ mCharColor.set(i_charColor);
+ }
+
+ void setGradColor(JUtility::TColor i_GradientColor) {
+ mGradientColor.set(i_GradientColor);
+ }
+
void setCharSpace(f32 space) { mCharSpacing = space; }
f32 getCharSpace() const { return mCharSpacing; }
void setLineSpace(f32 space) { mLineSpacing = space; }