road_gui.c
changeset 777 95dc447f24e3
parent 756 b76998029c12
child 787 b3639c660998
equal deleted inserted replaced
776:5b14f0b1e6d3 777:95dc447f24e3
   308 	AllocateWindowDesc(&_build_road_desc);
   308 	AllocateWindowDesc(&_build_road_desc);
   309 }
   309 }
   310 
   310 
   311 static const Widget _build_road_scen_widgets[] = {
   311 static const Widget _build_road_scen_widgets[] = {
   312 {    WWT_TEXTBTN,     7,     0,    10,     0,    13, STR_00C5,	STR_018B_CLOSE_WINDOW},
   312 {    WWT_TEXTBTN,     7,     0,    10,     0,    13, STR_00C5,	STR_018B_CLOSE_WINDOW},
   313 {    WWT_CAPTION,     7,    11,   173,     0,    13, STR_1802_ROAD_CONSTRUCTION, STR_018C_WINDOW_TITLE_DRAG_THIS},
   313 {    WWT_CAPTION,     7,    11,   161,     0,    13, STR_1802_ROAD_CONSTRUCTION, STR_018C_WINDOW_TITLE_DRAG_THIS},
       
   314 {  WWT_STICKYBOX,     7,   162,   173,     0,    13, 0x0,                   STR_STICKY_BUTTON},
   314 
   315 
   315 {     WWT_IMGBTN,     7,     0,    21,    14,    35, 0x51D,			STR_180B_BUILD_ROAD_SECTION},
   316 {     WWT_IMGBTN,     7,     0,    21,    14,    35, 0x51D,			STR_180B_BUILD_ROAD_SECTION},
   316 {     WWT_IMGBTN,     7,    22,    43,    14,    35, 0x51E,			STR_180B_BUILD_ROAD_SECTION},
   317 {     WWT_IMGBTN,     7,    22,    43,    14,    35, 0x51E,			STR_180B_BUILD_ROAD_SECTION},
   317 {     WWT_IMGBTN,     7,    44,    65,    14,    35, 0x2BF,			STR_018D_DEMOLISH_BUILDINGS_ETC},
   318 {     WWT_IMGBTN,     7,    44,    65,    14,    35, 0x2BF,			STR_018D_DEMOLISH_BUILDINGS_ETC},
   318 {      WWT_EMPTY,     0,     0,     0,     0,     0, 0x0,				STR_NULL},
   319 {      WWT_EMPTY,     0,     0,     0,     0,     0, 0x0,				STR_NULL},
   326 };
   327 };
   327 
   328 
   328 static const WindowDesc _build_road_scen_desc = {
   329 static const WindowDesc _build_road_scen_desc = {
   329 	-1, -1, 174, 36,
   330 	-1, -1, 174, 36,
   330 	WC_SCEN_BUILD_ROAD,0,
   331 	WC_SCEN_BUILD_ROAD,0,
   331 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
   332 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON,
   332 	_build_road_scen_widgets,
   333 	_build_road_scen_widgets,
   333 	BuildRoadToolbWndProc
   334 	BuildRoadToolbWndProc
   334 };
   335 };
   335 
   336 
   336 void ShowBuildRoadScenToolbar()
   337 void ShowBuildRoadScenToolbar()