src/terraform_gui.cpp
branchnoai
changeset 9694 e72987579514
parent 9624 b71483f2330f
child 9703 d2a6acdbd665
equal deleted inserted replaced
9693:31fcaa5375a1 9694:e72987579514
   276 
   276 
   277 {   WIDGETS_END},
   277 {   WIDGETS_END},
   278 };
   278 };
   279 
   279 
   280 static const WindowDesc _terraform_desc = {
   280 static const WindowDesc _terraform_desc = {
   281 	WDP_ALIGN_TBR, 22 + 36, 158, 36,
   281 	WDP_ALIGN_TBR, 22 + 36, 158, 36, 158, 36,
   282 	WC_SCEN_LAND_GEN, WC_NONE,
   282 	WC_SCEN_LAND_GEN, WC_NONE,
   283 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON,
   283 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON,
   284 	_terraform_widgets,
   284 	_terraform_widgets,
   285 	TerraformToolbWndProc
   285 	TerraformToolbWndProc
   286 };
   286 };
   293 		/* Align the terraform toolbar under the main toolbar and put the linked
   293 		/* Align the terraform toolbar under the main toolbar and put the linked
   294 		 * toolbar to left of it
   294 		 * toolbar to left of it
   295 		 */
   295 		 */
   296 		w->top = 22;
   296 		w->top = 22;
   297 		link->left = w->left - link->width;
   297 		link->left = w->left - link->width;
   298 	}
   298 
   299 }
   299 		SetWindowDirty(link);
       
   300 	}
       
   301 }