(svn r22292) -Change: Increase the linewidth in plots.

This commit is contained in:
frosch 2011-04-02 16:40:05 +00:00
parent b18211bb9d
commit 0babca04f2
1 changed files with 2 additions and 2 deletions

View File

@ -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;