Author: alink
Date: Fri Jun 22 15:17:29 2007
New Revision: 18381
URL: http://svn.gna.org/viewcvs/wesnoth?rev=18381&view=rev
Log:
use my hackish version of the new blur code for floating labels
Changed the depth of the blur from 4 to 2, because the new algorithm seems more
effective
This normaly mimic the previous look
Modified:
trunk/src/font.cpp
Modified: trunk/src/font.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/font.cpp?rev=18381&r1=18380&r2=18381&view=diff
==============================================================================
--- trunk/src/font.cpp (original)
+++ trunk/src/font.cpp Fri Jun 22 15:17:29 2007
@@ -865,7 +865,7 @@
surf_.assign(tmp);
} else {
surface background = font::render_text(text_,
font_size_, font::BLACK_COLOUR, 0);
- background = blur_surface(background,4);
+ background = blur_alpha_surface(background,2);
background = adjust_surface_alpha(background,
ftofxp(4.0));
surf_.assign(background);
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits