summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorPhilipp Sehmisch <crush@themanaworld.org>2009-02-10 16:56:05 +0100
committerPhilipp Sehmisch <crush@themanaworld.org>2009-02-10 16:56:05 +0100
commitc5fe99dcfd22b7e4d455ab8961d5f6c6210872d7 (patch)
tree87dbf38995dd4e66da83e30cef6085c9bceba05d /src/gui/widgets
parent840da9d6f64fea9275d0d1e916136fad29560c54 (diff)
downloadmana-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/widgets')
-rw-r--r--src/gui/widgets/dropdown.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/dropdown.cpp b/src/gui/widgets/dropdown.cpp
index 31d35cb0..ab10590a 100644
--- a/src/gui/widgets/dropdown.cpp
+++ b/src/gui/widgets/dropdown.cpp
@@ -23,7 +23,7 @@
#include "dropdown.h"
-#include "../colour.h"
+#include "../color.h"
#include "../listbox.h"
#include "../scrollarea.h"
@@ -40,7 +40,7 @@ Image *DropDown::buttons[2][2];
ImageRect DropDown::skin;
float DropDown::mAlpha = config.getValue("guialpha", 0.8);
-DropDown::DropDown(gcn::ListModel *listModel, gcn::ScrollArea *scrollArea,
+DropDown::DropDown(gcn::ListModel *listModel, gcn::ScrollArea *scrollArea,
gcn::ListBox *listBox, bool opacity):
gcn::DropDown::DropDown(listModel, scrollArea, listBox),
mOpaque(opacity)
@@ -138,7 +138,7 @@ void DropDown::draw(gcn::Graphics* graphics)
const int alpha = mAlpha * 255;
gcn::Color faceColor = getBaseColor();
faceColor.a = alpha;
- gcn::Color highlightColor = textColour->getColour('H', valid);
+ gcn::Color highlightColor = textcolor->getcolor('H', valid);
highlightColor.a = alpha;
gcn::Color shadowColor = faceColor - 0x303030;
shadowColor.a = alpha;