diff options
author | Philipp Sehmisch <crush@themanaworld.org> | 2009-02-10 16:56:05 +0100 |
---|---|---|
committer | Philipp Sehmisch <crush@themanaworld.org> | 2009-02-10 16:56:05 +0100 |
commit | c5fe99dcfd22b7e4d455ab8961d5f6c6210872d7 (patch) | |
tree | 87dbf38995dd4e66da83e30cef6085c9bceba05d /src/gui/shoplistbox.cpp | |
parent | 840da9d6f64fea9275d0d1e916136fad29560c54 (diff) | |
download | mana-c5fe99dcfd22b7e4d455ab8961d5f6c6210872d7.tar.gz mana-c5fe99dcfd22b7e4d455ab8961d5f6c6210872d7.tar.bz2 mana-c5fe99dcfd22b7e4d455ab8961d5f6c6210872d7.tar.xz mana-c5fe99dcfd22b7e4d455ab8961d5f6c6210872d7.zip |
Changed spelling from colour to color.
Diffstat (limited to 'src/gui/shoplistbox.cpp')
-rw-r--r-- | src/gui/shoplistbox.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/shoplistbox.cpp b/src/gui/shoplistbox.cpp index b5761535..66c12fc6 100644 --- a/src/gui/shoplistbox.cpp +++ b/src/gui/shoplistbox.cpp @@ -22,7 +22,7 @@ #include <guichan/font.hpp> #include <guichan/listmodel.hpp> -#include "colour.h" +#include "color.h" #include "shop.h" #include "shoplistbox.h" @@ -64,9 +64,9 @@ void ShopListBox::draw(gcn::Graphics *gcnGraphics) mAlpha = config.getValue("guialpha", 0.8); bool valid; - const int red = (textColour->getColour('H', valid) >> 16) & 0xFF; - const int green = (textColour->getColour('H', valid) >> 8) & 0xFF; - const int blue = textColour->getColour('H', valid) & 0xFF; + const int red = (textcolor->getcolor('H', valid) >> 16) & 0xFF; + const int green = (textcolor->getcolor('H', valid) >> 8) & 0xFF; + const int blue = textcolor->getcolor('H', valid) & 0xFF; const int alpha = mAlpha * 255; Graphics *graphics = static_cast<Graphics*>(gcnGraphics); |