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

OpenTTD Source 15.0-RC2

waypoint_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 <https://www.gnu.org/licenses/old-licenses/gpl-2.0>.
6 */
7
10#ifndef WIDGETS_WAYPOINT_WIDGET_H
11#define WIDGETS_WAYPOINT_WIDGET_H
12
14 enum WaypointWidgets : WidgetID {
15 WID_W_CAPTION,
16 WID_W_VIEWPORT,
17 WID_W_CENTER_VIEW,
18 WID_W_RENAME,
19 WID_W_SHOW_VEHICLES,
20 WID_W_CATCHMENT,
21};
22
23#endif /* WIDGETS_WAYPOINT_WIDGET_H */
WaypointWidgets
WaypointWidgets
Widgets of the WaypointWindow class.
Definition waypoint_widget.h:14
WID_W_CAPTION
@ WID_W_CAPTION
Caption of window.
Definition waypoint_widget.h:15
WID_W_SHOW_VEHICLES
@ WID_W_SHOW_VEHICLES
Show the vehicles visiting this waypoint.
Definition waypoint_widget.h:19
WID_W_CATCHMENT
@ WID_W_CATCHMENT
Coverage button.
Definition waypoint_widget.h:20
WID_W_VIEWPORT
@ WID_W_VIEWPORT
The viewport on this waypoint.
Definition waypoint_widget.h:16
WID_W_CENTER_VIEW
@ WID_W_CENTER_VIEW
Center the main view on this waypoint.
Definition waypoint_widget.h:17
WID_W_RENAME
@ WID_W_RENAME
Rename this waypoint.
Definition waypoint_widget.h:18
WidgetID
int WidgetID
Widget ID.
Definition window_type.h:20