diff options
author | frosch <frosch@openttd.org> | 2013-05-26 19:25:01 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2013-05-26 19:25:01 +0000 |
commit | 8157a8afd814cb24aaaa4c725817c864e0c583c6 (patch) | |
tree | f81c823727cb75370437179afd5ba452055f6512 /src/newgrf_gui.cpp | |
parent | 8c4714ad9099308691059f0a7a3cd6bbd33ce538 (diff) | |
download | openttd-8157a8afd814cb24aaaa4c725817c864e0c583c6.tar.xz |
(svn r25290) -Add: Assign string names to notable windows.
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r-- | src/newgrf_gui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index 02aca44a3..59e39535b 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -529,7 +529,7 @@ static const NWidgetPart _nested_newgrf_parameter_widgets[] = { /** Window definition for the change grf parameters window */ static WindowDesc _newgrf_parameters_desc( - WDP_CENTER, 500, 208, + WDP_CENTER, "settings_newgrf_config", 500, 208, WC_GRF_PARAMETERS, WC_NONE, 0, _nested_newgrf_parameter_widgets, lengthof(_nested_newgrf_parameter_widgets) @@ -1878,7 +1878,7 @@ static const NWidgetPart _nested_newgrf_widgets[] = { /* Window definition of the manage newgrfs window */ static WindowDesc _newgrf_desc( - WDP_CENTER, 300, 263, + WDP_CENTER, "settings_newgrf", 300, 263, WC_GAME_OPTIONS, WC_NONE, 0, _nested_newgrf_widgets, lengthof(_nested_newgrf_widgets) @@ -1949,7 +1949,7 @@ static const NWidgetPart _nested_scan_progress_widgets[] = { /** Description of the widgets and other settings of the window. */ static WindowDesc _scan_progress_desc( - WDP_CENTER, 0, 0, + WDP_CENTER, NULL, 0, 0, WC_MODAL_PROGRESS, WC_NONE, 0, _nested_scan_progress_widgets, lengthof(_nested_scan_progress_widgets) |