diff options
author | rubidium <rubidium@openttd.org> | 2009-11-28 14:42:35 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-28 14:42:35 +0000 |
commit | 293dfd7c3e754b846b745d80fa4ca6795b9f7ed0 (patch) | |
tree | 4fc72c84fc5875eb2719f9a9cbf4d9a458fb2f12 /src/company_gui.cpp | |
parent | b58b058e2b254cb375ebc2ec67c1ac307e6aeb87 (diff) | |
download | openttd-293dfd7c3e754b846b745d80fa4ca6795b9f7ed0.tar.xz |
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
Diffstat (limited to 'src/company_gui.cpp')
-rw-r--r-- | src/company_gui.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/company_gui.cpp b/src/company_gui.cpp index 2102af90e..c66e678cb 100644 --- a/src/company_gui.cpp +++ b/src/company_gui.cpp @@ -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) |