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/listbox.cpp | |
parent | 840da9d6f64fea9275d0d1e916136fad29560c54 (diff) | |
download | mana-client-c5fe99dcfd22b7e4d455ab8961d5f6c6210872d7.tar.gz mana-client-c5fe99dcfd22b7e4d455ab8961d5f6c6210872d7.tar.bz2 mana-client-c5fe99dcfd22b7e4d455ab8961d5f6c6210872d7.tar.xz mana-client-c5fe99dcfd22b7e4d455ab8961d5f6c6210872d7.zip |
Changed spelling from colour to color.
Diffstat (limited to 'src/gui/listbox.cpp')
-rw-r--r-- | src/gui/listbox.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/listbox.cpp b/src/gui/listbox.cpp index b63d6424..118dbac1 100644 --- a/src/gui/listbox.cpp +++ b/src/gui/listbox.cpp @@ -23,7 +23,7 @@ #include <guichan/graphics.hpp> #include <guichan/listmodel.hpp> -#include "colour.h" +#include "color.h" #include "listbox.h" #include "../configuration.h" @@ -44,9 +44,9 @@ void ListBox::draw(gcn::Graphics *graphics) 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->setColor(gcn::Color(red, green, blue, alpha)); |