(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.

This commit is contained in:
rubidium
2009-11-28 14:42:35 +00:00
parent b58b058e2b
commit 293dfd7c3e
48 changed files with 159 additions and 173 deletions

View File

@@ -463,7 +463,7 @@ struct CompanyFinancesWindow : Window {
Money CompanyFinancesWindow::max_money = INT32_MAX;
static const WindowDesc _company_finances_desc(
WDP_AUTO, WDP_AUTO, 0, 0,
WDP_AUTO, 0, 0,
WC_FINANCES, WC_NONE,
WDF_UNCLICK_BUTTONS,
_nested_company_finances_widgets, lengthof(_nested_company_finances_widgets)
@@ -816,7 +816,7 @@ static const NWidgetPart _nested_select_company_livery_widgets [] = {
};
static const WindowDesc _select_company_livery_desc(
WDP_AUTO, WDP_AUTO, 0, 0,
WDP_AUTO, 0, 0,
WC_COMPANY_COLOUR, WC_NONE,
0,
_nested_select_company_livery_widgets, lengthof(_nested_select_company_livery_widgets)
@@ -1522,7 +1522,7 @@ const StringID SelectCompanyManagerFaceWindow::PART_TEXTS[] = {
/** Company manager face selection window description */
static const WindowDesc _select_company_manager_face_desc(
WDP_AUTO, WDP_AUTO, 190, 163,
WDP_AUTO, 190, 163,
WC_COMPANY_MANAGER_FACE, WC_NONE,
WDF_UNCLICK_BUTTONS | WDF_CONSTRUCTION,
_nested_select_company_manager_face_widgets, lengthof(_nested_select_company_manager_face_widgets)
@@ -2008,7 +2008,7 @@ struct CompanyWindow : Window
};
static const WindowDesc _company_desc(
WDP_AUTO, WDP_AUTO, 360, 170,
WDP_AUTO, 360, 170,
WC_COMPANY, WC_NONE,
WDF_UNCLICK_BUTTONS,
_nested_company_widgets, lengthof(_nested_company_widgets)
@@ -2118,7 +2118,7 @@ static const NWidgetPart _nested_buy_company_widgets[] = {
};
static const WindowDesc _buy_company_desc(
WDP_AUTO, WDP_AUTO, 334, 137,
WDP_AUTO, 334, 137,
WC_BUY_COMPANY, WC_NONE,
WDF_CONSTRUCTION,
_nested_buy_company_widgets, lengthof(_nested_buy_company_widgets)