summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-05-08 09:50:44 -0600
committerJared Adams <jaxad0127@gmail.com>2009-05-08 09:50:44 -0600
commit63ddb001682962c96088975e83ae8ea313fe393d (patch)
tree2c09ddaa5ef10e4375f8ba6ededcd62259fc718e
parenteefe77cc7b0afa7fd6a357852194829ab323d976 (diff)
downloadmana-client-63ddb001682962c96088975e83ae8ea313fe393d.tar.gz
mana-client-63ddb001682962c96088975e83ae8ea313fe393d.tar.bz2
mana-client-63ddb001682962c96088975e83ae8ea313fe393d.tar.xz
mana-client-63ddb001682962c96088975e83ae8ea313fe393d.zip
Have progressbar labels ignore gui alpha
-rw-r--r--src/gui/widgets/progressbar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/progressbar.cpp b/src/gui/widgets/progressbar.cpp
index 0f278a67..caeea5c6 100644
--- a/src/gui/widgets/progressbar.cpp
+++ b/src/gui/widgets/progressbar.cpp
@@ -156,8 +156,8 @@ void ProgressBar::draw(gcn::Graphics *graphics)
TextRenderer::renderText(graphics, mText, textX, textY,
gcn::Graphics::CENTER,
- guiPalette->getColor(Palette::PROGRESS_BAR,
- alpha), boldFont, true, false);
+ guiPalette->getColor(Palette::PROGRESS_BAR),
+ boldFont, true, false);
}
}