summaryrefslogtreecommitdiff
path: root/src/text.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <crush@themanaworld.org>2009-02-10 16:56:05 +0100
committerIra Rice <irarice@gmail.com>2009-02-11 08:29:51 -0700
commit4a41ce55224ad7b54c6b5ea78126d8d314f5ef41 (patch)
tree2d2172cb0c0985c7711206dc5adda6bfa219245e /src/text.cpp
parentd036e2c771bcd19a21e26aec155d4269cecdb1c2 (diff)
downloadmana-4a41ce55224ad7b54c6b5ea78126d8d314f5ef41.tar.gz
mana-4a41ce55224ad7b54c6b5ea78126d8d314f5ef41.tar.bz2
mana-4a41ce55224ad7b54c6b5ea78126d8d314f5ef41.tar.xz
mana-4a41ce55224ad7b54c6b5ea78126d8d314f5ef41.zip
Changed spelling from colour to color.
Diffstat (limited to 'src/text.cpp')
-rw-r--r--src/text.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/text.cpp b/src/text.cpp
index 5a015139..e5e40235 100644
--- a/src/text.cpp
+++ b/src/text.cpp
@@ -30,8 +30,8 @@
int Text::mInstances = 0;
Text::Text(const std::string &text, int x, int y,
- gcn::Graphics::Alignment alignment, gcn::Color colour) :
- mText(text), mColour(colour)
+ gcn::Graphics::Alignment alignment, gcn::Color color) :
+ mText(text), mColor(color)
{
if (textManager == 0)
{
@@ -91,13 +91,13 @@ void Text::draw(gcn::Graphics *graphics, int xOff, int yOff)
graphics->drawText(mText, mX - xOff, mY - yOff - 1,
gcn::Graphics::LEFT);
- graphics->setColor(mColour);
+ graphics->setColor(mColor);
graphics->drawText(mText, mX - xOff, mY - yOff, gcn::Graphics::LEFT);
}
FlashText::FlashText(const std::string &text, int x, int y,
- gcn::Graphics::Alignment alignment, gcn::Color colour) :
- Text(text, x, y, alignment, colour),
+ gcn::Graphics::Alignment alignment, gcn::Color color) :
+ Text(text, x, y, alignment, color),
mTime(0)
{
}