OpenTTD/src/widgets/road_widget.h

57 lines
1.7 KiB
C
Raw Normal View History

/* $Id$ */
/*
* This file is part of OpenTTD.
* 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.
* 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.
* 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/>.
*/
/** @file road_widget.h Types related to the road widgets. */
#ifndef WIDGETS_ROAD_WIDGET_H
#define WIDGETS_ROAD_WIDGET_H
/** Widgets of the WC_SCEN_BUILD_TOOLBAR / WC_BUILD_TOOLBAR (WC_SCEN_BUILD_TOOLBAR / WC_BUILD_TOOLBAR is also used in others). */
enum RoadToolbarWidgets {
/* Name starts with RO instead of R, becuase of collision with RailToolbarWidgets */
ROTW_ROAD_X,
ROTW_ROAD_Y,
ROTW_AUTOROAD,
ROTW_DEMOLISH,
ROTW_DEPOT,
ROTW_BUS_STATION,
ROTW_TRUCK_STATION,
ROTW_ONE_WAY,
ROTW_BUILD_BRIDGE,
ROTW_BUILD_TUNNEL,
ROTW_REMOVE,
};
/** Widgets of the WC_BUILD_DEPOT (WC_BUILD_DEPOT is also used in others). */
enum BuildRoadDepotWidgets {
/* Name starts with BRO instead of BR, becuase of collision with BuildRailDepotWidgets */
BRODW_CAPTION,
BRODW_DEPOT_NE,
BRODW_DEPOT_SE,
BRODW_DEPOT_SW,
BRODW_DEPOT_NW,
};
/** Widgets of the WC_BUS_STATION / WC_TRUCK_STATION. */
enum BuildRoadStationWidgets {
BRSW_CAPTION,
BRSW_BACKGROUND,
BRSW_STATION_NE,
BRSW_STATION_SE,
BRSW_STATION_SW,
BRSW_STATION_NW,
BRSW_STATION_X,
BRSW_STATION_Y,
BRSW_LT_OFF,
BRSW_LT_ON,
BRSW_INFO,
};
#endif /* WIDGETS_ROAD_WIDGET_H */