summaryrefslogtreecommitdiff
path: root/src/widgets/newgrf_widget.h
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-12-19 20:46:17 +0000
committertruebrain <truebrain@openttd.org>2011-12-19 20:46:17 +0000
commitbcbdc3933c4aeff90692a1059375b1f590e7c904 (patch)
treee88b733b9ea32dc510656e425a85b94c779323ee /src/widgets/newgrf_widget.h
parent285621eb9ab8218206c99f7338a740fd634e3061 (diff)
downloadopenttd-bcbdc3933c4aeff90692a1059375b1f590e7c904.tar.xz
(svn r23600) -Codechange: link WC+number to a Widget, and the Widget to a Window class
Diffstat (limited to 'src/widgets/newgrf_widget.h')
-rw-r--r--src/widgets/newgrf_widget.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets/newgrf_widget.h b/src/widgets/newgrf_widget.h
index 2641591d5..3066c908a 100644
--- a/src/widgets/newgrf_widget.h
+++ b/src/widgets/newgrf_widget.h
@@ -14,7 +14,7 @@
#include "../newgrf_config.h"
-/** Widgets of the WC_GRF_PARAMETERS. */
+/** Widgets of the #NewGRFParametersWindow class. */
enum NewGRFParametersWidgets {
WID_NP_SHOW_NUMPAR, ///< #NWID_SELECTION to optionally display #WID_NP_NUMPAR.
WID_NP_NUMPAR_DEC, ///< Button to decrease number of parameters.
@@ -29,7 +29,7 @@ enum NewGRFParametersWidgets {
WID_NP_DESCRIPTION, ///< Multi-line description of a parameter.
};
-/** Widgets of the WC_NEWGRF_TEXTFILE. */
+/** Widgets of the #NewGRFTextfileWindow class. */
enum NewGRFTextfileWidgets {
WID_NT_CAPTION, ///< The caption of the window.
WID_NT_BACKGROUND, ///< Panel to draw the textfile on.
@@ -37,7 +37,7 @@ enum NewGRFTextfileWidgets {
WID_NT_HSCROLLBAR, ///< Horizontal scrollbar to scroll through the textfile left-to-right.
};
-/** Widgets of the WC_GAME_OPTIONS (WC_GAME_OPTIONS is also used in others). */
+/** Widgets of the #NewGRFWindow class. */
enum NewGRFStateWidgets {
WID_NS_PRESET_LIST, ///< Active NewGRF preset.
WID_NS_PRESET_SAVE, ///< Save list of active NewGRFs as presets.
@@ -66,7 +66,7 @@ enum NewGRFStateWidgets {
WID_NS_SHOW_APPLY, ///< Select display of the buttons below the 'details'.
};
-/** Widgets of the WC_MODAL_PROGRESS (WC_MODAL_PROGRESS is also used in GenerationProgressWidgets). */
+/** Widgets of the #ScanProgressWindow class. */
enum ScanProgressWidgets {
WID_SP_PROGRESS_BAR, ///< Simple progress bar.
WID_SP_PROGRESS_TEXT, ///< Text explaining what is happening.