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

pull/155/head
frosch 14 years ago
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…
Cancel
Save