summaryrefslogtreecommitdiff
path: root/src/gui/palette.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-03-16 14:38:27 -0600
committerJared Adams <jaxad0127@gmail.com>2010-03-16 14:44:47 -0600
commitd0df8c76bcd0a5920a9ef1861d978ff52d021a02 (patch)
tree29d77d4fb880b6ba6ae819752798b06a2a656219 /src/gui/palette.h
parent0698461bd4001c6a1e3be1d755b3ebbafe229d42 (diff)
downloadmana-client-d0df8c76bcd0a5920a9ef1861d978ff52d021a02.tar.gz
mana-client-d0df8c76bcd0a5920a9ef1861d978ff52d021a02.tar.bz2
mana-client-d0df8c76bcd0a5920a9ef1861d978ff52d021a02.tar.xz
mana-client-d0df8c76bcd0a5920a9ef1861d978ff52d021a02.zip
Fix some color issues
Colors in BrowserBoxes generally didn't work. Also simplify much palette control detail. Reviewed-by: Thorbjørn Lindeijer
Diffstat (limited to 'src/gui/palette.h')
-rw-r--r--src/gui/palette.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/palette.h b/src/gui/palette.h
index 6a5917c2..ee748e74 100644
--- a/src/gui/palette.h
+++ b/src/gui/palette.h
@@ -153,14 +153,11 @@ class Palette
int delay;
int committedDelay;
- void set(int type, gcn::Color& color, GradientType grad,
- const std::string &text, char c, int delay)
+ void set(int type, gcn::Color& color, GradientType grad, int delay)
{
ColorElem::type = type;
ColorElem::color = color;
ColorElem::testColor = color;
- ColorElem::text = text;
- ColorElem::ch = c;
ColorElem::grad = grad;
ColorElem::delay = delay;
ColorElem::gradientIndex = rand();