summaryrefslogtreecommitdiff
path: root/include/JSystem/J2DGraph/J2DTextBox.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/JSystem/J2DGraph/J2DTextBox.h')
-rw-r--r--include/JSystem/J2DGraph/J2DTextBox.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/JSystem/J2DGraph/J2DTextBox.h b/include/JSystem/J2DGraph/J2DTextBox.h
index 88d109b4..45e9a511 100644
--- a/include/JSystem/J2DGraph/J2DTextBox.h
+++ b/include/JSystem/J2DGraph/J2DTextBox.h
@@ -57,7 +57,11 @@ public:
void setGradColor(JUtility::TColor c) { mGradColor.set(c); }
void setBlack(JUtility::TColor c) { mBlack = c; }
void setWhite(JUtility::TColor c) { mWhite = c; }
-
+ void setBlackWhite(JUtility::TColor black, JUtility::TColor white) {
+ mBlack = black;
+ mWhite = white;
+ }
+
void setLineSpace(f32 x) { mLineSpace = x; }
f32 getLineSpace() const { return mLineSpace; }
f32 getCharSpace() const { return mCharSpace; }