summaryrefslogtreecommitdiff
path: root/src/widgets/rail_widget.h
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-12-19 20:46:17 +0000
committertruebrain <truebrain@openttd.org>2011-12-19 20:46:17 +0000
commitbcbdc3933c4aeff90692a1059375b1f590e7c904 (patch)
treee88b733b9ea32dc510656e425a85b94c779323ee /src/widgets/rail_widget.h
parent285621eb9ab8218206c99f7338a740fd634e3061 (diff)
downloadopenttd-bcbdc3933c4aeff90692a1059375b1f590e7c904.tar.xz
(svn r23600) -Codechange: link WC+number to a Widget, and the Widget to a Window class
Diffstat (limited to 'src/widgets/rail_widget.h')
-rw-r--r--src/widgets/rail_widget.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/widgets/rail_widget.h b/src/widgets/rail_widget.h
index ef2329933..a8b933b83 100644
--- a/src/widgets/rail_widget.h
+++ b/src/widgets/rail_widget.h
@@ -12,7 +12,7 @@
#ifndef WIDGETS_RAIL_WIDGET_H
#define WIDGETS_RAIL_WIDGET_H
-/** Widgets of the WC_BUILD_TOOLBAR (WC_BUILD_TOOLBAR is also used in others). */
+/** Widgets of the #BuildRailToolbarWindow ckass. */
enum RailToolbarWidgets {
/* Name starts with RA instead of R, because of collision with RoadToolbarWidgets */
WID_RAT_CAPTION, ///< Caption of the window.
@@ -32,7 +32,7 @@ enum RailToolbarWidgets {
WID_RAT_CONVERT_RAIL, ///< Convert other rail to this type.
};
-/** Widgets of the WC_BUILD_STATION (WC_BUILD_STATION is also used in others). */
+/** Widgets of the #BuildRailStationWindow class. */
enum BuildRailStationWidgets {
/* Name starts with BRA instead of BR, because of collision with BuildRoadStationWidgets */
WID_BRAS_PLATFORM_DIR_X, ///< Button to select '/' view.
@@ -75,7 +75,7 @@ enum BuildRailStationWidgets {
WID_BRAS_PLATFORM_LEN_BEGIN = WID_BRAS_PLATFORM_LEN_1 - 1, ///< Helper for determining the chosen platform length.
};
-/** Widgets of the WC_BUILD_SIGNAL. */
+/** Widgets of the #BuildSignalWindow class. */
enum BuildSignalWidgets {
WID_BS_SEMAPHORE_NORM, ///< Build a semaphore normal block signal
WID_BS_SEMAPHORE_ENTRY, ///< Build a semaphore entry block signal
@@ -95,7 +95,7 @@ enum BuildSignalWidgets {
WID_BS_DRAG_SIGNALS_DENSITY_INCREASE, ///< Increase the signal density.
};
-/** Widgets of the WC_BUILD_DEPOT (WC_BUILD_DEPOT is also used in others). */
+/** Widgets of the #BuildRailDepotWindow class. */
enum BuildRailDepotWidgets {
/* Name starts with BRA instead of BR, because of collision with BuildRoadDepotWidgets */
WID_BRAD_DEPOT_NE, ///< Build a depot with the entrace in the north east.
@@ -104,7 +104,7 @@ enum BuildRailDepotWidgets {
WID_BRAD_DEPOT_NW, ///< Build a depot with the entrace in the north west.
};
-/** Widgets of the WC_BUILD_DEPOT (WC_BUILD_DEPOT is also used in others). */
+/** Widgets of the #BuildRailWaypointWindow class. */
enum BuildRailWaypointWidgets {
WID_BRW_WAYPOINT_MATRIX, ///< Matrix with waypoints.
WID_BRW_WAYPOINT, ///< A single waypoint.