summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authorplanetmaker <planetmaker@openttd.org>2011-12-16 17:15:40 +0000
committerplanetmaker <planetmaker@openttd.org>2011-12-16 17:15:40 +0000
commit7c7bd7fe862b4c6e0e7ddc0c0edf13de36645ed0 (patch)
treeefc914b9ca8bf4c178e8db419cc78adcacf21368 /src/widgets
parent4de1f3be885730cfa7dad6c6b3a4608f8808ce37 (diff)
downloadopenttd-7c7bd7fe862b4c6e0e7ddc0c0edf13de36645ed0.tar.xz
(svn r23541) -Codechange: Consistent naming of widgets in NewGRF debug window
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/newgrf_debug_widget.h34
-rw-r--r--src/widgets/tree_widget.h28
2 files changed, 31 insertions, 31 deletions
diff --git a/src/widgets/newgrf_debug_widget.h b/src/widgets/newgrf_debug_widget.h
index 2ae0b8ec8..ca045fc72 100644
--- a/src/widgets/newgrf_debug_widget.h
+++ b/src/widgets/newgrf_debug_widget.h
@@ -14,27 +14,27 @@
/** Widgets of the WC_NEWGRF_INSPECT. */
enum NewGRFInspectWidgets {
- NIW_CAPTION, ///< The caption bar ofcourse
- NIW_PARENT, ///< Inspect the parent
- NIW_MAINPANEL, ///< Panel widget containing the actual data
- NIW_SCROLLBAR, ///< Scrollbar
+ WID_NGRFI_CAPTION, ///< The caption bar of course
+ WID_NGRFI_PARENT, ///< Inspect the parent
+ WID_NGRFI_MAINPANEL, ///< Panel widget containing the actual data
+ WID_NGRFI_SCROLLBAR, ///< Scrollbar
};
/** Widgets of the WC_SPRITE_ALIGNER. */
enum SpriteAlignerWidgets {
- SAW_CAPTION, ///< Caption of the window
- SAW_PREVIOUS, ///< Skip to the previous sprite
- SAW_GOTO, ///< Go to a given sprite
- SAW_NEXT, ///< Skip to the next sprite
- SAW_UP, ///< Move the sprite up
- SAW_LEFT, ///< Move the sprite to the left
- SAW_RIGHT, ///< Move the sprite to the right
- SAW_DOWN, ///< Move the sprite down
- SAW_SPRITE, ///< The actual sprite
- SAW_OFFSETS, ///< The sprite offsets
- SAW_PICKER, ///< Sprite picker
- SAW_LIST, ///< Queried sprite list
- SAW_SCROLLBAR,///< Scrollbar for sprite list
+ WID_SA_CAPTION, ///< Caption of the window
+ WID_SA_PREVIOUS, ///< Skip to the previous sprite
+ WID_SA_GOTO, ///< Go to a given sprite
+ WID_SA_NEXT, ///< Skip to the next sprite
+ WID_SA_UP, ///< Move the sprite up
+ WID_SA_LEFT, ///< Move the sprite to the left
+ WID_SA_RIGHT, ///< Move the sprite to the right
+ WID_SA_DOWN, ///< Move the sprite down
+ WID_SA_SPRITE, ///< The actual sprite
+ WID_SA_OFFSETS, ///< The sprite offsets
+ WID_SA_PICKER, ///< Sprite picker
+ WID_SA_LIST, ///< Queried sprite list
+ WID_SA_SCROLLBAR,///< Scrollbar for sprite list
};
#endif /* WIDGETS_NEWGRF_DEBUG_WIDGET_H */
diff --git a/src/widgets/tree_widget.h b/src/widgets/tree_widget.h
index 1672a4d61..d6566232f 100644
--- a/src/widgets/tree_widget.h
+++ b/src/widgets/tree_widget.h
@@ -14,20 +14,20 @@
/** Widgets of the WC_BUILD_TREES. */
enum BuildTreesWidgets {
- WID_BT_TYPE_11,
- WID_BT_TYPE_12,
- WID_BT_TYPE_13,
- WID_BT_TYPE_14,
- WID_BT_TYPE_21,
- WID_BT_TYPE_22,
- WID_BT_TYPE_23,
- WID_BT_TYPE_24,
- WID_BT_TYPE_31,
- WID_BT_TYPE_32,
- WID_BT_TYPE_33,
- WID_BT_TYPE_34,
- WID_BT_TYPE_RANDOM,
- WID_BT_MANY_RANDOM,
+ WID_BT_TYPE_11, ///< tree 1st column 1st row
+ WID_BT_TYPE_12, ///< tree 1st column 2nd row
+ WID_BT_TYPE_13, ///< tree 1st column 3rd row
+ WID_BT_TYPE_14, ///< tree 1st column 4th row
+ WID_BT_TYPE_21, ///< tree 1st column 1st row
+ WID_BT_TYPE_22, ///< tree 1st column 2nd row
+ WID_BT_TYPE_23, ///< tree 1st column 3rd row
+ WID_BT_TYPE_24, ///< tree 1st column 4th row
+ WID_BT_TYPE_31, ///< tree 1st column 1st row
+ WID_BT_TYPE_32, ///< tree 1st column 2nd row
+ WID_BT_TYPE_33, ///< tree 1st column 3rd row
+ WID_BT_TYPE_34, ///< tree 1st column 4th row
+ WID_BT_TYPE_RANDOM, ///< button to build random type of tree
+ WID_BT_MANY_RANDOM, ///< button to build many random trees
};
#endif /* WIDGETS_TREE_WIDGET_H */