OpenTTD Source: src/widgets/newgrf_debug_widget.h Source File

OpenTTD Source 1.11.0-RC1

newgrf_debug_widget.h
Go to the documentation of this file.
1 /*
2 * This file is part of OpenTTD.
3 * 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.
4 * 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.
5 * 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/>.
6 */
7
10 #ifndef WIDGETS_NEWGRF_DEBUG_WIDGET_H
11 #define WIDGETS_NEWGRF_DEBUG_WIDGET_H
12
14 enum NewGRFInspectWidgets {
15 WID_NGRFI_CAPTION,
16 WID_NGRFI_PARENT,
17 WID_NGRFI_VEH_PREV,
18 WID_NGRFI_VEH_NEXT,
19 WID_NGRFI_VEH_CHAIN,
20 WID_NGRFI_MAINPANEL,
21 WID_NGRFI_SCROLLBAR,
22 };
23
25 enum SpriteAlignerWidgets {
26 WID_SA_CAPTION,
27 WID_SA_PREVIOUS,
28 WID_SA_GOTO,
29 WID_SA_NEXT,
30 WID_SA_UP,
31 WID_SA_LEFT,
32 WID_SA_RIGHT,
33 WID_SA_DOWN,
34 WID_SA_SPRITE,
35 WID_SA_OFFSETS_ABS,
36 WID_SA_OFFSETS_REL,
37 WID_SA_PICKER,
38 WID_SA_LIST,
39 WID_SA_SCROLLBAR,
40 WID_SA_RESET_REL,
41 };
42
43 #endif /* WIDGETS_NEWGRF_DEBUG_WIDGET_H */
WID_SA_DOWN
@ WID_SA_DOWN
Move the sprite down.
Definition: newgrf_debug_widget.h:33
WID_SA_RESET_REL
@ WID_SA_RESET_REL
Reset relative sprite offset.
Definition: newgrf_debug_widget.h:40
WID_NGRFI_MAINPANEL
@ WID_NGRFI_MAINPANEL
Panel widget containing the actual data.
Definition: newgrf_debug_widget.h:20
WID_NGRFI_VEH_CHAIN
@ WID_NGRFI_VEH_CHAIN
Display for vehicle chain.
Definition: newgrf_debug_widget.h:19
WID_NGRFI_VEH_PREV
@ WID_NGRFI_VEH_PREV
Go to previous vehicle in chain.
Definition: newgrf_debug_widget.h:17
WID_SA_SCROLLBAR
@ WID_SA_SCROLLBAR
Scrollbar for sprite list.
Definition: newgrf_debug_widget.h:39
WID_NGRFI_PARENT
@ WID_NGRFI_PARENT
Inspect the parent.
Definition: newgrf_debug_widget.h:16
WID_SA_LEFT
@ WID_SA_LEFT
Move the sprite to the left.
Definition: newgrf_debug_widget.h:31
WID_SA_LIST
@ WID_SA_LIST
Queried sprite list.
Definition: newgrf_debug_widget.h:38
WID_SA_SPRITE
@ WID_SA_SPRITE
The actual sprite.
Definition: newgrf_debug_widget.h:34
WID_SA_RIGHT
@ WID_SA_RIGHT
Move the sprite to the right.
Definition: newgrf_debug_widget.h:32
SpriteAlignerWidgets
SpriteAlignerWidgets
Widgets of the SpriteAlignerWindow class.
Definition: newgrf_debug_widget.h:25
WID_SA_NEXT
@ WID_SA_NEXT
Skip to the next sprite.
Definition: newgrf_debug_widget.h:29
WID_SA_CAPTION
@ WID_SA_CAPTION
Caption of the window.
Definition: newgrf_debug_widget.h:26
WID_SA_OFFSETS_REL
@ WID_SA_OFFSETS_REL
The sprite offsets (relative).
Definition: newgrf_debug_widget.h:36
WID_NGRFI_VEH_NEXT
@ WID_NGRFI_VEH_NEXT
Go to next vehicle in chain.
Definition: newgrf_debug_widget.h:18
WID_NGRFI_SCROLLBAR
@ WID_NGRFI_SCROLLBAR
Scrollbar.
Definition: newgrf_debug_widget.h:21
WID_SA_GOTO
@ WID_SA_GOTO
Go to a given sprite.
Definition: newgrf_debug_widget.h:28
NewGRFInspectWidgets
NewGRFInspectWidgets
Widgets of the NewGRFInspectWindow class.
Definition: newgrf_debug_widget.h:14
WID_SA_UP
@ WID_SA_UP
Move the sprite up.
Definition: newgrf_debug_widget.h:30
WID_SA_OFFSETS_ABS
@ WID_SA_OFFSETS_ABS
The sprite offsets (absolute).
Definition: newgrf_debug_widget.h:35
WID_SA_PREVIOUS
@ WID_SA_PREVIOUS
Skip to the previous sprite.
Definition: newgrf_debug_widget.h:27
WID_SA_PICKER
@ WID_SA_PICKER
Sprite picker.
Definition: newgrf_debug_widget.h:37
WID_NGRFI_CAPTION
@ WID_NGRFI_CAPTION
The caption bar of course.
Definition: newgrf_debug_widget.h:15