changeset 17528:2922342c37f1 draft

(svn r22292) -Change: Increase the linewidth in plots.
author frosch <frosch@openttd.org>
date Sat, 02 Apr 2011 16:40:05 +0000
parents 3850026e0159
children 193d1114d407
files src/graph_gui.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/graph_gui.cpp
+++ b/src/graph_gui.cpp
@@ -453,10 +453,10 @@
 						y = r.top + x_axis_offset - ((r.bottom - r.top) * datapoint) / (interval_size >> reduce_range);
 
 						/* Draw the point. */
-						GfxFillRect(x - 1, y - 1, x + 1, y + 1, colour);
+						GfxFillRect(x - 2, y - 2, x + 2, y + 2, colour);
 
 						/* Draw the line connected to the previous point. */
-						if (prev_x != INVALID_DATAPOINT_POS) GfxDrawLine(prev_x, prev_y, x, y, colour);
+						if (prev_x != INVALID_DATAPOINT_POS) GfxDrawLine(prev_x, prev_y, x, y, colour, 3);
 
 						prev_x = x;
 						prev_y = y;