From 4f14fde764bf0624700e88f9fa7d5d84d543aaec Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Thu, 24 Dec 2009 00:43:24 +0100 Subject: 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. --- src/gui/widgets/textpreview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/textpreview.cpp') 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); } -- cgit v1.2.3-70-g09d2