diff --git a/contributors.md b/contributors.md index 9fca415e19..28e8cd45d7 100644 --- a/contributors.md +++ b/contributors.md @@ -82,6 +82,7 @@ The following people are not part of the development team, but have been contrib * Kevin Strehl (bitman2049) - Tile inspector keybindings * Anton Scharnowski (scrapes) - Added Scenery Scatter Options Window. * Chad Ian Anderson (pizza2004) - Added New Game option, bug fixes, misc. +* Peter Ryszkiewicz (pRizz) - Added horizontal grid lines to finance charts. ## Bug fixes * (halfbro) diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 63a068cb60..f14760acbe 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -31,6 +31,7 @@ - Fix: [#10739] Mountain tool overlay for even-numbered selections. - Fix: [#10752] Mute button state not correctly set at startup. - Improved: [#682] The staff patrol area is now drawn on the water, instead of on the surface under water. +- Improved: [#10858] Added horizontal grid lines to finance charts. - Removed: [#6898] LOADMM and LOADRCT1 title sequence commands (use LOADSC instead). 0.2.4 (2019-10-28) diff --git a/src/openrct2-ui/windows/Finances.cpp b/src/openrct2-ui/windows/Finances.cpp index 0f30b1b5c7..ef03d07941 100644 --- a/src/openrct2-ui/windows/Finances.cpp +++ b/src/openrct2-ui/windows/Finances.cpp @@ -879,6 +879,7 @@ static void window_finances_financial_graph_paint(rct_window* w, rct_drawpixelin { money32 axisValue = axisBase << yAxisScale; gfx_draw_string_right(dpi, STR_FINANCES_FINANCIAL_GRAPH_CASH_VALUE, &axisValue, COLOUR_BLACK, x + 70, y); + gfx_fill_rect_inset(dpi, x + 70, y + 5, graphLeft + 482, y + 5, w->colours[2], INSET_RECT_FLAG_BORDER_INSET); y += 39; } @@ -980,6 +981,7 @@ static void window_finances_park_value_graph_paint(rct_window* w, rct_drawpixeli { money32 axisValue = axisBase << yAxisScale; gfx_draw_string_right(dpi, STR_FINANCES_FINANCIAL_GRAPH_CASH_VALUE, &axisValue, COLOUR_BLACK, x + 70, y); + gfx_fill_rect_inset(dpi, x + 70, y + 5, graphLeft + 482, y + 5, w->colours[2], INSET_RECT_FLAG_BORDER_INSET); y += 39; } @@ -1083,6 +1085,7 @@ static void window_finances_profit_graph_paint(rct_window* w, rct_drawpixelinfo* { money32 axisValue = axisBase << yAxisScale; gfx_draw_string_right(dpi, STR_FINANCES_FINANCIAL_GRAPH_CASH_VALUE, &axisValue, COLOUR_BLACK, x + 70, y); + gfx_fill_rect_inset(dpi, x + 70, y + 5, graphLeft + 482, y + 5, w->colours[2], INSET_RECT_FLAG_BORDER_INSET); y += 39; }