diff options
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) |