mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r22292) -Change: Increase the linewidth in plots.
This commit is contained in:
parent
c81c55e008
commit
0cfe1966a6
@ -453,10 +453,10 @@ protected:
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user