Fix: CmdSetAutoReplace didn't validate group type and engine type match (#9950)
[openttd-github.git] / src / widgets / waypoint_widget.h
bloba5b316034fbb489ff8a68de66b6fdd81159ae244
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 */
8 /** @file waypoint_widget.h Types related to the waypoint widgets. */
10 #ifndef WIDGETS_WAYPOINT_WIDGET_H
11 #define WIDGETS_WAYPOINT_WIDGET_H
13 /** Widgets of the #WaypointWindow class. */
14 enum WaypointWidgets {
15 WID_W_CAPTION, ///< Caption of window.
16 WID_W_VIEWPORT, ///< The viewport on this waypoint.
17 WID_W_CENTER_VIEW, ///< Center the main view on this waypoint.
18 WID_W_RENAME, ///< Rename this waypoint.
19 WID_W_SHOW_VEHICLES, ///< Show the vehicles visiting this waypoint.
22 #endif /* WIDGETS_WAYPOINT_WIDGET_H */