summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2015-03-01 08:17:14 +0000
committeralberth <alberth@openttd.org>2015-03-01 08:17:14 +0000
commita5843149b5c134c5712f98c2c25ee994d2739243 (patch)
tree4cf328a695a0e006b0cc5c5b550a3bf13d65022a /src/widgets
parenta4756c477d5203bf898cd6509af8b3cdb325e4f0 (diff)
downloadopenttd-a5843149b5c134c5712f98c2c25ee994d2739243.tar.xz
(svn r27174) -Feature[FS#6236]: Display relative offset changes in the sprite aligner (juzza1).
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/newgrf_debug_widget.h28
1 files changed, 15 insertions, 13 deletions
diff --git a/src/widgets/newgrf_debug_widget.h b/src/widgets/newgrf_debug_widget.h
index b719bcfc5..22a5cda40 100644
--- a/src/widgets/newgrf_debug_widget.h
+++ b/src/widgets/newgrf_debug_widget.h
@@ -25,19 +25,21 @@ enum NewGRFInspectWidgets {
/** Widgets of the #SpriteAlignerWindow class. */
enum SpriteAlignerWidgets {
- 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.
+ 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_ABS, ///< The sprite offsets (absolute).
+ WID_SA_OFFSETS_REL, ///< The sprite offsets (relative).
+ WID_SA_PICKER, ///< Sprite picker.
+ WID_SA_LIST, ///< Queried sprite list.
+ WID_SA_SCROLLBAR, ///< Scrollbar for sprite list.
+ WID_SA_RESET_REL, ///< Reset relative sprite offset
};
#endif /* WIDGETS_NEWGRF_DEBUG_WIDGET_H */