summaryrefslogtreecommitdiff
path: root/include/JSystem/J2DGraph
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2026-07-02 17:43:07 -0700
committerGitHub <noreply@github.com>2026-07-02 20:43:07 -0400
commitf93c5ba62c18e7ae593fa034a6d0bd52bc95e55e (patch)
tree3b5e95ae011585279136d26e22610ad2e881946c /include/JSystem/J2DGraph
parent873bb82e00fc8ee3a77eeebf50eafd5718a6f715 (diff)
d_message mostly done (#1097)
* d_message mostly done * fopMsgM_selectMessageGet fix
Diffstat (limited to 'include/JSystem/J2DGraph')
-rw-r--r--include/JSystem/J2DGraph/J2DPane.h2
-rw-r--r--include/JSystem/J2DGraph/J2DTextBox.h6
2 files changed, 5 insertions, 3 deletions
diff --git a/include/JSystem/J2DGraph/J2DPane.h b/include/JSystem/J2DGraph/J2DPane.h
index 19b3a3a4..5bd81613 100644
--- a/include/JSystem/J2DGraph/J2DPane.h
+++ b/include/JSystem/J2DGraph/J2DPane.h
@@ -89,7 +89,7 @@ public:
void hide() { mVisible = false; }
bool isVisible() { return mVisible; }
- void getBounds() {}
+ const JGeometry::TBox2<f32>& getBounds() { return mBounds; }
const JGeometry::TBox2<f32>& getGlbBounds() { return mGlobalBounds; }
f32 getRotate() const { return mRotation; }
void place(const JGeometry::TBox2<f32>&) {}
diff --git a/include/JSystem/J2DGraph/J2DTextBox.h b/include/JSystem/J2DGraph/J2DTextBox.h
index 6e70e765..5a663fa2 100644
--- a/include/JSystem/J2DGraph/J2DTextBox.h
+++ b/include/JSystem/J2DGraph/J2DTextBox.h
@@ -66,8 +66,10 @@ public:
char* getStringPtr() const;
s32 setString(const char*, ...);
- // TODO
- void setFontColor(JUtility::TColor, JUtility::TColor) {}
+ void setFontColor(JUtility::TColor i_charColor, JUtility::TColor i_GradientColor) {
+ mCharColor = i_charColor;
+ mGradColor = i_GradientColor;
+ }
virtual ~J2DTextBox();
virtual bool setConnectParent(bool);