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/gui/browserbox.cpp | |
parent | d036e2c771bcd19a21e26aec155d4269cecdb1c2 (diff) | |
download | mana-4a41ce55224ad7b54c6b5ea78126d8d314f5ef41.tar.gz mana-4a41ce55224ad7b54c6b5ea78126d8d314f5ef41.tar.bz2 mana-4a41ce55224ad7b54c6b5ea78126d8d314f5ef41.tar.xz mana-4a41ce55224ad7b54c6b5ea78126d8d314f5ef41.zip |
Changed spelling from colour to color.
Diffstat (limited to 'src/gui/browserbox.cpp')
-rw-r--r-- | src/gui/browserbox.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/browserbox.cpp b/src/gui/browserbox.cpp index 37480415..18fa2ad4 100644 --- a/src/gui/browserbox.cpp +++ b/src/gui/browserbox.cpp @@ -25,7 +25,7 @@ #include <guichan/graphics.hpp> #include "browserbox.h" -#include "colour.h" +#include "color.h" #include "linkhandler.h" #include "truetypefont.h" @@ -255,7 +255,7 @@ void BrowserBox::draw(gcn::Graphics *graphics) bool valid; if ((mHighMode & BACKGROUND)) { - graphics->setColor(gcn::Color(textColour->getColour('H', valid))); + graphics->setColor(gcn::Color(textColor->getColor('H', valid))); graphics->fillRectangle(gcn::Rectangle( mLinks[mSelectedLink].x1, mLinks[mSelectedLink].y1, @@ -266,7 +266,7 @@ void BrowserBox::draw(gcn::Graphics *graphics) if ((mHighMode & UNDERLINE)) { - graphics->setColor(gcn::Color(textColour->getColour('<', valid))); + graphics->setColor(gcn::Color(textColor->getColor('<', valid))); graphics->drawLine( mLinks[mSelectedLink].x1, mLinks[mSelectedLink].y2, @@ -332,7 +332,7 @@ void BrowserBox::draw(gcn::Graphics *graphics) else { bool valid; - int rgb = textColour->getColour(c, valid); + int rgb = textColor->getColor(c, valid); if (c == '<') { const int size = mLinks[link].x2 - mLinks[link].x1; |