1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-12 09:09:09 +00:00

(svn r8511) -Codechange: make WindowClass an enumerated value.

This commit is contained in:
rubidium
2007-02-01 15:49:12 +00:00
parent 01a9abc7e5
commit c8882bd3d2
37 changed files with 124 additions and 120 deletions

View File

@@ -309,7 +309,7 @@ static const Widget _graph_legend_widgets[] = {
static const WindowDesc _graph_legend_desc = {
WDP_AUTO, WDP_AUTO, 250, 114,
WC_GRAPH_LEGEND,0,
WC_GRAPH_LEGEND, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
_graph_legend_widgets,
GraphLegendWndProc
@@ -407,7 +407,7 @@ static const Widget _operating_profit_widgets[] = {
static const WindowDesc _operating_profit_desc = {
WDP_AUTO, WDP_AUTO, 576, 174,
WC_OPERATING_PROFIT,0,
WC_OPERATING_PROFIT, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
_operating_profit_widgets,
OperatingProfitWndProc
@@ -479,7 +479,7 @@ static const Widget _income_graph_widgets[] = {
static const WindowDesc _income_graph_desc = {
WDP_AUTO, WDP_AUTO, 576, 142,
WC_INCOME_GRAPH,0,
WC_INCOME_GRAPH, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
_income_graph_widgets,
IncomeGraphWndProc
@@ -549,7 +549,7 @@ static const Widget _delivered_cargo_graph_widgets[] = {
static const WindowDesc _delivered_cargo_graph_desc = {
WDP_AUTO, WDP_AUTO, 576, 142,
WC_DELIVERED_CARGO,0,
WC_DELIVERED_CARGO, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
_delivered_cargo_graph_widgets,
DeliveredCargoGraphWndProc
@@ -622,7 +622,7 @@ static const Widget _performance_history_widgets[] = {
static const WindowDesc _performance_history_desc = {
WDP_AUTO, WDP_AUTO, 576, 238,
WC_PERFORMANCE_HISTORY,0,
WC_PERFORMANCE_HISTORY, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
_performance_history_widgets,
PerformanceHistoryWndProc
@@ -692,7 +692,7 @@ static const Widget _company_value_graph_widgets[] = {
static const WindowDesc _company_value_graph_desc = {
WDP_AUTO, WDP_AUTO, 576, 238,
WC_COMPANY_VALUE,0,
WC_COMPANY_VALUE, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
_company_value_graph_widgets,
CompanyValueGraphWndProc
@@ -802,7 +802,7 @@ static const Widget _cargo_payment_rates_widgets[] = {
static const WindowDesc _cargo_payment_rates_desc = {
WDP_AUTO, WDP_AUTO, 568, 142,
WC_PAYMENT_RATES,0,
WC_PAYMENT_RATES, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
_cargo_payment_rates_widgets,
CargoPaymentRatesWndProc
@@ -894,7 +894,7 @@ static const Widget _company_league_widgets[] = {
static const WindowDesc _company_league_desc = {
WDP_AUTO, WDP_AUTO, 400, 97,
WC_COMPANY_LEAGUE,0,
WC_COMPANY_LEAGUE, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON,
_company_league_widgets,
CompanyLeagueWndProc
@@ -1115,7 +1115,7 @@ static const Widget _performance_rating_detail_widgets[] = {
static const WindowDesc _performance_rating_detail_desc = {
WDP_AUTO, WDP_AUTO, 299, 228,
WC_PERFORMANCE_DETAIL,0,
WC_PERFORMANCE_DETAIL, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
_performance_rating_detail_widgets,
PerformanceRatingDetailWndProc