summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-12-16 16:25:34 +0000
committerrubidium <rubidium@openttd.org>2011-12-16 16:25:34 +0000
commitb90aa80e77e1321bcae2389a014fe7595301e0e2 (patch)
treec4c8110728190bd3428af229e01074a39af05a8e /src/widgets
parent98d3f11d45c879b6cb0728c7a77fab349329abe8 (diff)
downloadopenttd-b90aa80e77e1321bcae2389a014fe7595301e0e2.tar.xz
(svn r23530) -Codechange: begin unify the naming of widgets and add comments to them, in this case the waypoint view widgets
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/waypoint_widget.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/widgets/waypoint_widget.h b/src/widgets/waypoint_widget.h
index 8d0565e68..31f203610 100644
--- a/src/widgets/waypoint_widget.h
+++ b/src/widgets/waypoint_widget.h
@@ -13,12 +13,12 @@
#define WIDGETS_WAYPOINT_WIDGET_H
/** Widgets of the WC_WAYPOINT_VIEW. */
-enum WaypointWindowWidgets {
- WAYPVW_CAPTION,
- WAYPVW_VIEWPORT,
- WAYPVW_CENTERVIEW,
- WAYPVW_RENAME,
- WAYPVW_SHOW_VEHICLES,
+enum WaypointWidgets {
+ WID_W_CAPTION, ///< Caption of window.
+ WID_W_VIEWPORT, ///< The viewport on this waypoint.
+ WID_W_CENTER_VIEW, ///< Center the main view on this waypoint.
+ WID_W_RENAME, ///< Rename this waypoint.
+ WID_W_SHOW_VEHICLES, ///< Show the vehicles visiting this waypoint.
};
#endif /* WIDGETS_WAYPOINT_WIDGET_H */