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/listbox.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/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 97b3bbd0..12bb2c02 100644 --- a/src/gui/listbox.cpp +++ b/src/gui/listbox.cpp @@ -24,7 +24,7 @@ #include <guichan/graphics.hpp> #include <guichan/listmodel.hpp> -#include "colour.h" +#include "color.h" #include "listbox.h" #include "../configuration.h" @@ -45,9 +45,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)); |