summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-01-05 20:03:15 +0000
committerfrosch <frosch@openttd.org>2012-01-05 20:03:15 +0000
commitfa0949577ecf6b6a5df5bc640160728e64d5ce1a (patch)
tree17afe927415415770b90a6b287f1118633417927 /src/widgets
parent597ef4e7b18555027ed3db25b43392f3d33f190e (diff)
downloadopenttd-fa0949577ecf6b6a5df5bc640160728e64d5ce1a.tar.xz
(svn r23760) -Feature: Allow readonly display of NewGRF parameters, if GRF list may not be edited.
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/newgrf_widget.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widgets/newgrf_widget.h b/src/widgets/newgrf_widget.h
index 3066c908a..32b5c5a30 100644
--- a/src/widgets/newgrf_widget.h
+++ b/src/widgets/newgrf_widget.h
@@ -55,7 +55,8 @@ enum NewGRFStateWidgets {
WID_NS_NEWGRF_INFO, ///< Panel for Info on selected NewGRF.
WID_NS_OPEN_URL, ///< Open URL of NewGRF.
WID_NS_NEWGRF_TEXTFILE, ///< Open NewGRF readme, changelog (+1) or license (+2).
- WID_NS_SET_PARAMETERS = WID_NS_NEWGRF_TEXTFILE + TFT_END, ///< Open Parameters Window for selected, active NewGRF.
+ WID_NS_SET_PARAMETERS = WID_NS_NEWGRF_TEXTFILE + TFT_END, ///< Open Parameters Window for selected NewGRF for editing parameters.
+ WID_NS_VIEW_PARAMETERS, ///< Open Parameters Window for selected NewGRF for viewing parameters.
WID_NS_TOGGLE_PALETTE, ///< Toggle Palette of selected, active NewGRF.
WID_NS_APPLY_CHANGES, ///< Apply changes to NewGRF config.
WID_NS_RESCAN_FILES, ///< Rescan files (available NewGRFs).