diff options
author | Philipp Sehmisch <crush@themanaworld.org> | 2009-02-10 16:56:05 +0100 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-02-11 08:29:51 -0700 |
commit | 4a41ce55224ad7b54c6b5ea78126d8d314f5ef41 (patch) | |
tree | 2d2172cb0c0985c7711206dc5adda6bfa219245e /src/text.cpp | |
parent | d036e2c771bcd19a21e26aec155d4269cecdb1c2 (diff) | |
download | mana-client-4a41ce55224ad7b54c6b5ea78126d8d314f5ef41.tar.gz mana-client-4a41ce55224ad7b54c6b5ea78126d8d314f5ef41.tar.bz2 mana-client-4a41ce55224ad7b54c6b5ea78126d8d314f5ef41.tar.xz mana-client-4a41ce55224ad7b54c6b5ea78126d8d314f5ef41.zip |
Changed spelling from colour to color.
Diffstat (limited to 'src/text.cpp')
-rw-r--r-- | src/text.cpp | 10 |
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) { } |