diff options
Diffstat (limited to 'src/company_gui.cpp')
-rw-r--r-- | src/company_gui.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/company_gui.cpp b/src/company_gui.cpp index 5ac2d06dc..40daa7aac 100644 --- a/src/company_gui.cpp +++ b/src/company_gui.cpp @@ -457,7 +457,7 @@ struct CompanyFinancesWindow : Window { }; static const WindowDesc _company_finances_desc( - WDP_AUTO, WDP_AUTO, 0, 0, 0, 0, + WDP_AUTO, WDP_AUTO, 0, 0, WC_FINANCES, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, _nested_company_finances_widgets, lengthof(_nested_company_finances_widgets) @@ -797,7 +797,7 @@ static const NWidgetPart _nested_select_company_livery_widgets [] = { }; static const WindowDesc _select_company_livery_desc( - WDP_AUTO, WDP_AUTO, 0, 0, 0, 0, + WDP_AUTO, WDP_AUTO, 0, 0, WC_COMPANY_COLOUR, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET, _nested_select_company_livery_widgets, lengthof(_nested_select_company_livery_widgets) @@ -1378,7 +1378,7 @@ public: /** normal/simple company manager face selection window description */ static const WindowDesc _select_company_manager_face_desc( - WDP_AUTO, WDP_AUTO, 190, 163, 190, 163, + WDP_AUTO, WDP_AUTO, 190, 163, WC_COMPANY_MANAGER_FACE, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_CONSTRUCTION, _nested_select_company_manager_face_widgets, lengthof(_nested_select_company_manager_face_widgets) @@ -1386,7 +1386,7 @@ static const WindowDesc _select_company_manager_face_desc( /** advanced company manager face selection window description */ static const WindowDesc _select_company_manager_face_adv_desc( - WDP_AUTO, WDP_AUTO, 220, 220, 220, 220, + WDP_AUTO, WDP_AUTO, 220, 220, WC_COMPANY_MANAGER_FACE, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_CONSTRUCTION, _nested_select_company_manager_face_adv_widgets, lengthof(_nested_select_company_manager_face_adv_widgets) @@ -1815,7 +1815,7 @@ struct CompanyWindow : Window }; static const WindowDesc _company_desc( - WDP_AUTO, WDP_AUTO, 360, 170, 360, 170, + WDP_AUTO, WDP_AUTO, 360, 170, WC_COMPANY, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS, _nested_company_widgets, lengthof(_nested_company_widgets) @@ -1927,7 +1927,7 @@ static const NWidgetPart _nested_buy_company_widgets[] = { }; static const WindowDesc _buy_company_desc( - 153, 171, 334, 137, 334, 137, + 153, 171, 334, 137, WC_BUY_COMPANY, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_CONSTRUCTION, _nested_buy_company_widgets, lengthof(_nested_buy_company_widgets) |