From f93c5ba62c18e7ae593fa034a6d0bd52bc95e55e Mon Sep 17 00:00:00 2001 From: TakaRikka <38417346+TakaRikka@users.noreply.github.com> Date: Thu, 2 Jul 2026 17:43:07 -0700 Subject: d_message mostly done (#1097) * d_message mostly done * fopMsgM_selectMessageGet fix --- include/JSystem/J2DGraph/J2DPane.h | 2 +- include/JSystem/J2DGraph/J2DTextBox.h | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'include/JSystem/J2DGraph') 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& getBounds() { return mBounds; } const JGeometry::TBox2& getGlbBounds() { return mGlobalBounds; } f32 getRotate() const { return mRotation; } void place(const JGeometry::TBox2&) {} 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); -- cgit v1.2.3