src/industry_gui.cpp
changeset 5893 7e431a4abebb
parent 5609 dc6a58930ba4
child 6091 c8827d9ae04a
equal deleted inserted replaced
5892:e1d55528ba34 5893:7e431a4abebb
   188 };
   188 };
   189 
   189 
   190 
   190 
   191 static const WindowDesc _build_industry_land0_desc = {
   191 static const WindowDesc _build_industry_land0_desc = {
   192 	WDP_AUTO, WDP_AUTO, 170, 116,
   192 	WDP_AUTO, WDP_AUTO, 170, 116,
   193 	WC_BUILD_INDUSTRY,0,
   193 	WC_BUILD_INDUSTRY, WC_NONE,
   194 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
   194 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
   195 	_build_industry_land0_widgets,
   195 	_build_industry_land0_widgets,
   196 	BuildIndustryWndProc
   196 	BuildIndustryWndProc
   197 };
   197 };
   198 
   198 
   199 static const WindowDesc _build_industry_land1_desc = {
   199 static const WindowDesc _build_industry_land1_desc = {
   200 	WDP_AUTO, WDP_AUTO, 170, 116,
   200 	WDP_AUTO, WDP_AUTO, 170, 116,
   201 	WC_BUILD_INDUSTRY,0,
   201 	WC_BUILD_INDUSTRY, WC_NONE,
   202 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
   202 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
   203 	_build_industry_land1_widgets,
   203 	_build_industry_land1_widgets,
   204 	BuildIndustryWndProc
   204 	BuildIndustryWndProc
   205 };
   205 };
   206 
   206 
   207 static const WindowDesc _build_industry_land2_desc = {
   207 static const WindowDesc _build_industry_land2_desc = {
   208 	WDP_AUTO, WDP_AUTO, 170, 116,
   208 	WDP_AUTO, WDP_AUTO, 170, 116,
   209 	WC_BUILD_INDUSTRY,0,
   209 	WC_BUILD_INDUSTRY, WC_NONE,
   210 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
   210 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
   211 	_build_industry_land2_widgets,
   211 	_build_industry_land2_widgets,
   212 	BuildIndustryWndProc
   212 	BuildIndustryWndProc
   213 };
   213 };
   214 
   214 
   215 static const WindowDesc _build_industry_land3_desc = {
   215 static const WindowDesc _build_industry_land3_desc = {
   216 	WDP_AUTO, WDP_AUTO, 170, 116,
   216 	WDP_AUTO, WDP_AUTO, 170, 116,
   217 	WC_BUILD_INDUSTRY,0,
   217 	WC_BUILD_INDUSTRY, WC_NONE,
   218 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
   218 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
   219 	_build_industry_land3_widgets,
   219 	_build_industry_land3_widgets,
   220 	BuildIndustryWndProc
   220 	BuildIndustryWndProc
   221 };
   221 };
   222 
   222 
   223 static const WindowDesc _build_industry_land0_desc_extra = {
   223 static const WindowDesc _build_industry_land0_desc_extra = {
   224 	WDP_AUTO, WDP_AUTO, 170, 188,
   224 	WDP_AUTO, WDP_AUTO, 170, 188,
   225 	WC_BUILD_INDUSTRY,0,
   225 	WC_BUILD_INDUSTRY, WC_NONE,
   226 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
   226 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
   227 	_build_industry_land0_widgets_extra,
   227 	_build_industry_land0_widgets_extra,
   228 	BuildIndustryWndProc
   228 	BuildIndustryWndProc
   229 };
   229 };
   230 
   230 
   231 static const WindowDesc _build_industry_land1_desc_extra = {
   231 static const WindowDesc _build_industry_land1_desc_extra = {
   232 	WDP_AUTO, WDP_AUTO, 170, 175,
   232 	WDP_AUTO, WDP_AUTO, 170, 175,
   233 	WC_BUILD_INDUSTRY,0,
   233 	WC_BUILD_INDUSTRY, WC_NONE,
   234 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
   234 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
   235 	_build_industry_land1_widgets_extra,
   235 	_build_industry_land1_widgets_extra,
   236 	BuildIndustryWndProc
   236 	BuildIndustryWndProc
   237 };
   237 };
   238 
   238 
   239 static const WindowDesc _build_industry_land2_desc_extra = {
   239 static const WindowDesc _build_industry_land2_desc_extra = {
   240 	WDP_AUTO, WDP_AUTO, 170, 201,
   240 	WDP_AUTO, WDP_AUTO, 170, 201,
   241 	WC_BUILD_INDUSTRY,0,
   241 	WC_BUILD_INDUSTRY, WC_NONE,
   242 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
   242 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
   243 	_build_industry_land2_widgets_extra,
   243 	_build_industry_land2_widgets_extra,
   244 	BuildIndustryWndProc
   244 	BuildIndustryWndProc
   245 };
   245 };
   246 
   246 
   247 static const WindowDesc _build_industry_land3_desc_extra = {
   247 static const WindowDesc _build_industry_land3_desc_extra = {
   248 	WDP_AUTO, WDP_AUTO, 170, 188,
   248 	WDP_AUTO, WDP_AUTO, 170, 188,
   249 	WC_BUILD_INDUSTRY,0,
   249 	WC_BUILD_INDUSTRY, WC_NONE,
   250 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
   250 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
   251 	_build_industry_land3_widgets_extra,
   251 	_build_industry_land3_widgets_extra,
   252 	BuildIndustryWndProc
   252 	BuildIndustryWndProc
   253 };
   253 };
   254 
   254 
   431 {   WIDGETS_END},
   431 {   WIDGETS_END},
   432 };
   432 };
   433 
   433 
   434 static const WindowDesc _industry_view_desc = {
   434 static const WindowDesc _industry_view_desc = {
   435 	WDP_AUTO, WDP_AUTO, 260, 160,
   435 	WDP_AUTO, WDP_AUTO, 260, 160,
   436 	WC_INDUSTRY_VIEW,0,
   436 	WC_INDUSTRY_VIEW, WC_NONE,
   437 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON,
   437 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON,
   438 	_industry_view_widgets,
   438 	_industry_view_widgets,
   439 	IndustryViewWndProc
   439 	IndustryViewWndProc
   440 };
   440 };
   441 
   441 
   672 
   672 
   673 
   673 
   674 /* Industry List */
   674 /* Industry List */
   675 static const WindowDesc _industry_directory_desc = {
   675 static const WindowDesc _industry_directory_desc = {
   676 	WDP_AUTO, WDP_AUTO, 508, 190,
   676 	WDP_AUTO, WDP_AUTO, 508, 190,
   677 	WC_INDUSTRY_DIRECTORY,0,
   677 	WC_INDUSTRY_DIRECTORY, WC_NONE,
   678 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
   678 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
   679 	_industry_directory_widgets,
   679 	_industry_directory_widgets,
   680 	IndustryDirectoryWndProc
   680 	IndustryDirectoryWndProc
   681 };
   681 };
   682 
   682