Author: alink
Date: Thu Nov 1 17:25:46 2007
New Revision: 21385
URL: http://svn.gna.org/viewcvs/wesnoth?rev=21385&view=rev
Log:
The dark border of text written in hexes (def%, turn to reach) was in
DARK_COLOUR, which is some dark blue (why?). Change it to black.
Also kill this now unused and misleading DARK_COLOUR.
Modified:
trunk/src/display.cpp
Modified: trunk/src/display.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/display.cpp?rev=21385&r1=21384&r2=21385&view=diff
==============================================================================
--- trunk/src/display.cpp (original)
+++ trunk/src/display.cpp Thu Nov 1 17:25:46 2007
@@ -802,7 +802,7 @@
);
surface text_surf = font::get_rendered_text(text, font_sz, color);
- surface back_surf = font::get_rendered_text(text, font_sz,
font::DARK_COLOUR);
+ surface back_surf = font::get_rendered_text(text, font_sz,
font::BLACK_COLOUR);
const int x = get_location_x(loc) - text_surf->w/2
+ static_cast<int>(x_in_hex* hex_size());
const int y = get_location_y(loc) - text_surf->h/2
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits