diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-03-16 14:38:27 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-03-16 14:44:47 -0600 |
commit | d0df8c76bcd0a5920a9ef1861d978ff52d021a02 (patch) | |
tree | 29d77d4fb880b6ba6ae819752798b06a2a656219 /src/gui/palette.h | |
parent | 0698461bd4001c6a1e3be1d755b3ebbafe229d42 (diff) | |
download | mana-d0df8c76bcd0a5920a9ef1861d978ff52d021a02.tar.gz mana-d0df8c76bcd0a5920a9ef1861d978ff52d021a02.tar.bz2 mana-d0df8c76bcd0a5920a9ef1861d978ff52d021a02.tar.xz mana-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.h | 5 |
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(); |