src/newgrf_gui.cpp
changeset 9317 f14eb8815829
parent 9273 35e0224ea8f1
child 9457 75f11a6caef8
equal deleted inserted replaced
9316:f8c7d3af9e1b 9317:f14eb8815829
   248 static const WindowDesc _newgrf_add_dlg_desc = {
   248 static const WindowDesc _newgrf_add_dlg_desc = {
   249 	WDP_CENTER, WDP_CENTER, 307, 237, 307, 337,
   249 	WDP_CENTER, WDP_CENTER, 307, 237, 307, 337,
   250 	WC_SAVELOAD, WC_NONE,
   250 	WC_SAVELOAD, WC_NONE,
   251 	WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_STD_BTN | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE,
   251 	WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_STD_BTN | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE,
   252 	_newgrf_add_dlg_widgets,
   252 	_newgrf_add_dlg_widgets,
   253 	NULL,
       
   254 };
   253 };
   255 
   254 
   256 
   255 
   257 static void NewGRFConfirmationCallback(Window *w, bool confirmed);
   256 static void NewGRFConfirmationCallback(Window *w, bool confirmed);
   258 
   257 
   550 static const WindowDesc _newgrf_desc = {
   549 static const WindowDesc _newgrf_desc = {
   551 	WDP_CENTER, WDP_CENTER, 300, 225, 300, 225,
   550 	WDP_CENTER, WDP_CENTER, 300, 225, 300, 225,
   552 	WC_GAME_OPTIONS, WC_NONE,
   551 	WC_GAME_OPTIONS, WC_NONE,
   553 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE,
   552 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE,
   554 	_newgrf_widgets,
   553 	_newgrf_widgets,
   555 	NULL,
       
   556 };
   554 };
   557 
   555 
   558 /** Callback function for the newgrf 'apply changes' confirmation window
   556 /** Callback function for the newgrf 'apply changes' confirmation window
   559  * @param w Window which is calling this callback
   557  * @param w Window which is calling this callback
   560  * @param confirmed boolean value, true when yes was clicked, false otherwise
   558  * @param confirmed boolean value, true when yes was clicked, false otherwise