4 * This file is part of OpenTTD.
5 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
6 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
7 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
10 /** @file newgrf_debug_widget.h Types related to the newgrf debug widgets. */
12 #ifndef WIDGETS_NEWGRF_DEBUG_WIDGET_H
13 #define WIDGETS_NEWGRF_DEBUG_WIDGET_H
15 /** Widgets of the #NewGRFInspectWindow class. */
16 enum NewGRFInspectWidgets
{
17 WID_NGRFI_CAPTION
, ///< The caption bar of course.
18 WID_NGRFI_PARENT
, ///< Inspect the parent.
19 WID_NGRFI_VEH_PREV
, ///< Go to previous vehicle in chain.
20 WID_NGRFI_VEH_NEXT
, ///< Go to next vehicle in chain.
21 WID_NGRFI_VEH_CHAIN
, ///< Display for vehicle chain.
22 WID_NGRFI_MAINPANEL
, ///< Panel widget containing the actual data.
23 WID_NGRFI_SCROLLBAR
, ///< Scrollbar.
26 /** Widgets of the #SpriteAlignerWindow class. */
27 enum SpriteAlignerWidgets
{
28 WID_SA_CAPTION
, ///< Caption of the window.
29 WID_SA_PREVIOUS
, ///< Skip to the previous sprite.
30 WID_SA_GOTO
, ///< Go to a given sprite.
31 WID_SA_NEXT
, ///< Skip to the next sprite.
32 WID_SA_UP
, ///< Move the sprite up.
33 WID_SA_LEFT
, ///< Move the sprite to the left.
34 WID_SA_RIGHT
, ///< Move the sprite to the right.
35 WID_SA_DOWN
, ///< Move the sprite down.
36 WID_SA_SPRITE
, ///< The actual sprite.
37 WID_SA_OFFSETS_ABS
, ///< The sprite offsets (absolute).
38 WID_SA_OFFSETS_REL
, ///< The sprite offsets (relative).
39 WID_SA_PICKER
, ///< Sprite picker.
40 WID_SA_LIST
, ///< Queried sprite list.
41 WID_SA_SCROLLBAR
, ///< Scrollbar for sprite list.
42 WID_SA_RESET_REL
, ///< Reset relative sprite offset
45 #endif /* WIDGETS_NEWGRF_DEBUG_WIDGET_H */