summaryrefslogtreecommitdiff
path: root/src/text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/text.cpp')
-rw-r--r--src/text.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/text.cpp b/src/text.cpp
index 83bd6c24..57aaa54f 100644
--- a/src/text.cpp
+++ b/src/text.cpp
@@ -109,6 +109,11 @@ Text::~Text()
}
}
+void Text::setColor(const gcn::Color *color)
+{
+ mColor = color;
+}
+
void Text::adviseXY(int x, int y)
{
textManager->moveText(this, x - mXOffset, y);