diff options
Diffstat (limited to 'src/graph_gui.cpp')
-rw-r--r-- | src/graph_gui.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/graph_gui.cpp b/src/graph_gui.cpp index abd148cd8..585be3688 100644 --- a/src/graph_gui.cpp +++ b/src/graph_gui.cpp @@ -316,7 +316,7 @@ static const WindowDesc _graph_legend_desc = { GraphLegendWndProc }; -static void ShowGraphLegend(void) +static void ShowGraphLegend() { AllocateWindowDescFront(&_graph_legend_desc, 0); } @@ -415,7 +415,7 @@ static const WindowDesc _operating_profit_desc = { }; -void ShowOperatingProfitGraph(void) +void ShowOperatingProfitGraph() { if (AllocateWindowDescFront(&_operating_profit_desc, 0)) { InvalidateWindow(WC_GRAPH_LEGEND, 0); @@ -483,7 +483,7 @@ static const WindowDesc _income_graph_desc = { IncomeGraphWndProc }; -void ShowIncomeGraph(void) +void ShowIncomeGraph() { if (AllocateWindowDescFront(&_income_graph_desc, 0)) { InvalidateWindow(WC_GRAPH_LEGEND, 0); @@ -550,7 +550,7 @@ static const WindowDesc _delivered_cargo_graph_desc = { DeliveredCargoGraphWndProc }; -void ShowDeliveredCargoGraph(void) +void ShowDeliveredCargoGraph() { if (AllocateWindowDescFront(&_delivered_cargo_graph_desc, 0)) { InvalidateWindow(WC_GRAPH_LEGEND, 0); @@ -619,7 +619,7 @@ static const WindowDesc _performance_history_desc = { PerformanceHistoryWndProc }; -void ShowPerformanceHistoryGraph(void) +void ShowPerformanceHistoryGraph() { if (AllocateWindowDescFront(&_performance_history_desc, 0)) { InvalidateWindow(WC_GRAPH_LEGEND, 0); @@ -686,7 +686,7 @@ static const WindowDesc _company_value_graph_desc = { CompanyValueGraphWndProc }; -void ShowCompanyValueGraph(void) +void ShowCompanyValueGraph() { if (AllocateWindowDescFront(&_company_value_graph_desc, 0)) { InvalidateWindow(WC_GRAPH_LEGEND, 0); @@ -784,7 +784,7 @@ static const WindowDesc _cargo_payment_rates_desc = { }; -void ShowCargoPaymentRates(void) +void ShowCargoPaymentRates() { Window *w = AllocateWindowDescFront(&_cargo_payment_rates_desc, 0); if (w == NULL) return; @@ -905,7 +905,7 @@ static const WindowDesc _company_league_desc = { CompanyLeagueWndProc }; -void ShowCompanyLeagueTable(void) +void ShowCompanyLeagueTable() { AllocateWindowDescFront(&_company_league_desc,0); } @@ -1144,7 +1144,7 @@ static const WindowDesc _performance_rating_detail_desc = { PerformanceRatingDetailWndProc }; -void ShowPerformanceRatingDetail(void) +void ShowPerformanceRatingDetail() { AllocateWindowDescFront(&_performance_rating_detail_desc, 0); } |