(svn r23541) -Codechange: Consistent naming of widgets in NewGRF debug window

This commit is contained in:
planetmaker
2011-12-16 17:15:40 +00:00
parent 4de1f3be88
commit 7c7bd7fe86
3 changed files with 80 additions and 80 deletions

View File

@@ -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 */

View File

@@ -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 */