diff options
author | frosch <frosch@openttd.org> | 2011-04-02 16:40:05 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-04-02 16:40:05 +0000 |
commit | 0babca04f2e0715aba59ad339c758ed592b44398 (patch) | |
tree | e893f13cf30118ab958a7ca4269a4abe95c849e4 /src | |
parent | b18211bb9d1f8f758e814a5b5f6dc74e78183c51 (diff) | |
download | openttd-0babca04f2e0715aba59ad339c758ed592b44398.tar.xz |
(svn r22292) -Change: Increase the linewidth in plots.
Diffstat (limited to 'src')
-rw-r--r-- | src/graph_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graph_gui.cpp b/src/graph_gui.cpp index 3c1047b43..c153c4044 100644 --- a/src/graph_gui.cpp +++ b/src/graph_gui.cpp @@ -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; |