From 8157a8afd814cb24aaaa4c725817c864e0c583c6 Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 26 May 2013 19:25:01 +0000 Subject: (svn r25290) -Add: Assign string names to notable windows. --- src/graph_gui.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/graph_gui.cpp') diff --git a/src/graph_gui.cpp b/src/graph_gui.cpp index 7a4abdeaf..3cb5adfda 100644 --- a/src/graph_gui.cpp +++ b/src/graph_gui.cpp @@ -141,7 +141,7 @@ static const NWidgetPart _nested_graph_legend_widgets[] = { }; static WindowDesc _graph_legend_desc( - WDP_AUTO, 0, 0, + WDP_AUTO, "graph_legend", 0, 0, WC_GRAPH_LEGEND, WC_NONE, 0, _nested_graph_legend_widgets, lengthof(_nested_graph_legend_widgets) @@ -643,7 +643,7 @@ static const NWidgetPart _nested_operating_profit_widgets[] = { }; static WindowDesc _operating_profit_desc( - WDP_AUTO, 0, 0, + WDP_AUTO, "graph_operating_profit", 0, 0, WC_OPERATING_PROFIT, WC_NONE, 0, _nested_operating_profit_widgets, lengthof(_nested_operating_profit_widgets) @@ -693,7 +693,7 @@ static const NWidgetPart _nested_income_graph_widgets[] = { }; static WindowDesc _income_graph_desc( - WDP_AUTO, 0, 0, + WDP_AUTO, "graph_income", 0, 0, WC_INCOME_GRAPH, WC_NONE, 0, _nested_income_graph_widgets, lengthof(_nested_income_graph_widgets) @@ -741,7 +741,7 @@ static const NWidgetPart _nested_delivered_cargo_graph_widgets[] = { }; static WindowDesc _delivered_cargo_graph_desc( - WDP_AUTO, 0, 0, + WDP_AUTO, "graph_delivered_cargo", 0, 0, WC_DELIVERED_CARGO, WC_NONE, 0, _nested_delivered_cargo_graph_widgets, lengthof(_nested_delivered_cargo_graph_widgets) @@ -796,7 +796,7 @@ static const NWidgetPart _nested_performance_history_widgets[] = { }; static WindowDesc _performance_history_desc( - WDP_AUTO, 0, 0, + WDP_AUTO, "graph_performance", 0, 0, WC_PERFORMANCE_HISTORY, WC_NONE, 0, _nested_performance_history_widgets, lengthof(_nested_performance_history_widgets) @@ -844,7 +844,7 @@ static const NWidgetPart _nested_company_value_graph_widgets[] = { }; static WindowDesc _company_value_graph_desc( - WDP_AUTO, 0, 0, + WDP_AUTO, "graph_company_value", 0, 0, WC_COMPANY_VALUE, WC_NONE, 0, _nested_company_value_graph_widgets, lengthof(_nested_company_value_graph_widgets) @@ -1074,7 +1074,7 @@ static const NWidgetPart _nested_cargo_payment_rates_widgets[] = { }; static WindowDesc _cargo_payment_rates_desc( - WDP_AUTO, 0, 0, + WDP_AUTO, "graph_cargo_payment_rates", 0, 0, WC_PAYMENT_RATES, WC_NONE, 0, _nested_cargo_payment_rates_widgets, lengthof(_nested_cargo_payment_rates_widgets) @@ -1263,7 +1263,7 @@ static const NWidgetPart _nested_company_league_widgets[] = { }; static WindowDesc _company_league_desc( - WDP_AUTO, 0, 0, + WDP_AUTO, "league", 0, 0, WC_COMPANY_LEAGUE, WC_NONE, 0, _nested_company_league_widgets, lengthof(_nested_company_league_widgets) @@ -1562,7 +1562,7 @@ static const NWidgetPart _nested_performance_rating_detail_widgets[] = { }; static WindowDesc _performance_rating_detail_desc( - WDP_AUTO, 0, 0, + WDP_AUTO, "league_details", 0, 0, WC_PERFORMANCE_DETAIL, WC_NONE, 0, _nested_performance_rating_detail_widgets, lengthof(_nested_performance_rating_detail_widgets) -- cgit v1.2.3-70-g09d2