summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-02-22 10:00:40 -0700
committerJared Adams <jaxad0127@gmail.com>2009-02-22 10:02:01 -0700
commit0a2fb7484cf06f5645e176e543b423601bff7f3f (patch)
tree9567d2034c884300fc4096a95e81cb135dac183e
parent57007e5ecadef9439998b229cb4b1427239f68eb (diff)
downloadmana-0a2fb7484cf06f5645e176e543b423601bff7f3f.tar.gz
mana-0a2fb7484cf06f5645e176e543b423601bff7f3f.tar.bz2
mana-0a2fb7484cf06f5645e176e543b423601bff7f3f.tar.xz
mana-0a2fb7484cf06f5645e176e543b423601bff7f3f.zip
Make progressbars more readable
-rw-r--r--src/gui/progressbar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/progressbar.cpp b/src/gui/progressbar.cpp
index 0f59371a..019bf371 100644
--- a/src/gui/progressbar.cpp
+++ b/src/gui/progressbar.cpp
@@ -134,13 +134,13 @@ void ProgressBar::draw(gcn::Graphics *graphics)
graphics->setFont(f);
- graphics->setColor(gcn::Color(0, 0, 0, alpha));
+ graphics->setColor(gcn::Color(0, 0, 0));
graphics->drawText(mText, textX + 1, textY, gcn::Graphics::CENTER);
graphics->drawText(mText, textX, textY - 1, gcn::Graphics::CENTER);
graphics->drawText(mText, textX, textY + 1, gcn::Graphics::CENTER);
graphics->drawText(mText, textX - 1, textY, gcn::Graphics::CENTER);
- graphics->setColor(gcn::Color(255, 255, 255, alpha));
+ graphics->setColor(gcn::Color(255, 255, 255));
graphics->drawText(mText, textX, textY, gcn::Graphics::CENTER);
graphics->setColor(gcn::Color(0, 0, 0));