summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textpreview.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <crush@themanaworld.org>2009-12-24 00:43:24 +0100
committerPhilipp Sehmisch <crush@themanaworld.org>2009-12-24 00:56:21 +0100
commit4f14fde764bf0624700e88f9fa7d5d84d543aaec (patch)
treeddae94d2f4ee8b7dd2621bd2fa5ec789d48cf35b /src/gui/widgets/textpreview.cpp
parent3570761872e01c61d657af6b761ded2e0da1b23f (diff)
downloadmana-4f14fde764bf0624700e88f9fa7d5d84d543aaec.tar.gz
mana-4f14fde764bf0624700e88f9fa7d5d84d543aaec.tar.bz2
mana-4f14fde764bf0624700e88f9fa7d5d84d543aaec.tar.xz
mana-4f14fde764bf0624700e88f9fa7d5d84d543aaec.zip
Alpha property of outline and shadow of rendered text is now taken from the guichan color of the main text instead of an additional argument. Fixed alpha blending of text particles.
Diffstat (limited to 'src/gui/widgets/textpreview.cpp')
-rw-r--r--src/gui/widgets/textpreview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/textpreview.cpp b/src/gui/widgets/textpreview.cpp
index 0d016b2f..0113c09f 100644
--- a/src/gui/widgets/textpreview.cpp
+++ b/src/gui/widgets/textpreview.cpp
@@ -77,5 +77,5 @@ void TextPreview::draw(gcn::Graphics* graphics)
TextRenderer::renderText(graphics, mText, 2, 2, gcn::Graphics::LEFT,
gcn::Color(mTextColor->r, mTextColor->g,
mTextColor->b, alpha),
- mFont, mOutline, mShadow, alpha);
+ mFont, mOutline, mShadow);
}