|
@@ -488,13 +488,13 @@ static const NWidgetPart _nested_newgrf_
|
|
|
|
|
|
/* Window definition for the add a newgrf window */
|
|
|
static const WindowDesc _newgrf_add_dlg_desc(
|
|
|
WDP_CENTER, WDP_CENTER, 0, 0, 306, 347,
|
|
|
WC_SAVELOAD, WC_NONE,
|
|
|
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_STD_BTN | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE,
|
|
|
NULL, _nested_newgrf_add_dlg_widgets, lengthof(_nested_newgrf_add_dlg_widgets)
|
|
|
_nested_newgrf_add_dlg_widgets, lengthof(_nested_newgrf_add_dlg_widgets)
|
|
|
);
|
|
|
|
|
|
static GRFPresetList _grf_preset_list;
|
|
|
|
|
|
class DropDownListPresetItem : public DropDownListItem {
|
|
|
public:
|
|
@@ -1042,13 +1042,13 @@ static const NWidgetPart _nested_newgrf_
|
|
|
|
|
|
/* Window definition of the manage newgrfs window */
|
|
|
static const WindowDesc _newgrf_desc(
|
|
|
WDP_CENTER, WDP_CENTER, 300, 263, 300, 263,
|
|
|
WC_GAME_OPTIONS, WC_NONE,
|
|
|
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE,
|
|
|
NULL, _nested_newgrf_widgets, lengthof(_nested_newgrf_widgets)
|
|
|
_nested_newgrf_widgets, lengthof(_nested_newgrf_widgets)
|
|
|
);
|
|
|
|
|
|
/** Callback function for the newgrf 'apply changes' confirmation window
|
|
|
* @param w Window which is calling this callback
|
|
|
* @param confirmed boolean value, true when yes was clicked, false otherwise
|
|
|
*/
|