summaryrefslogtreecommitdiff
path: root/src/gui/browserbox.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/gui/browserbox.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/gui/browserbox.cpp')
-rw-r--r--src/gui/browserbox.cpp8
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;