summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-12-16 16:32:48 +0000
committertruebrain <truebrain@openttd.org>2011-12-16 16:32:48 +0000
commitf578edd3bca11807a0e8245f6036d24d33d6a268 (patch)
tree13519642aaa5bc7ab6efc88806a6205f49ce327d /src/widgets
parentb6a303387c920a823b857fe42ccde69ae115983e (diff)
downloadopenttd-f578edd3bca11807a0e8245f6036d24d33d6a268.tar.xz
(svn r23533) -Codechange: document and rename widgets to be consistent and understandable
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/group_widget.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/widgets/group_widget.h b/src/widgets/group_widget.h
index e405d0ca8..f8c556eac 100644
--- a/src/widgets/group_widget.h
+++ b/src/widgets/group_widget.h
@@ -14,24 +14,24 @@
/** Widgets of the WC_TRAINS_LIST / WC_ROADVEH_LIST / WC_SHIPS_LIST / WC_AIRCRAFT_LIST. */
enum GroupListWidgets {
- GRP_WIDGET_CAPTION,
- GRP_WIDGET_SORT_BY_ORDER,
- GRP_WIDGET_SORT_BY_DROPDOWN,
- GRP_WIDGET_LIST_VEHICLE,
- GRP_WIDGET_LIST_VEHICLE_SCROLLBAR,
- GRP_WIDGET_AVAILABLE_VEHICLES,
- GRP_WIDGET_MANAGE_VEHICLES_DROPDOWN,
- GRP_WIDGET_STOP_ALL,
- GRP_WIDGET_START_ALL,
+ WID_GL_CAPTION, ///< Caption of the window.
+ WID_GL_SORT_BY_ORDER, ///< Sort order.
+ WID_GL_SORT_BY_DROPDOWN, ///< Sort by dropdown list.
+ WID_GL_LIST_VEHICLE, ///< List of the vehicles.
+ WID_GL_LIST_VEHICLE_SCROLLBAR, ///< Scrollbar for the list.
+ WID_GL_AVAILABLE_VEHICLES, ///< Available vehicles.
+ WID_GL_MANAGE_VEHICLES_DROPDOWN, ///< Manage vehicles dropdown list.
+ WID_GL_STOP_ALL, ///< Stop all button.
+ WID_GL_START_ALL, ///< Start all button.
- GRP_WIDGET_ALL_VEHICLES,
- GRP_WIDGET_DEFAULT_VEHICLES,
- GRP_WIDGET_LIST_GROUP,
- GRP_WIDGET_LIST_GROUP_SCROLLBAR,
- GRP_WIDGET_CREATE_GROUP,
- GRP_WIDGET_DELETE_GROUP,
- GRP_WIDGET_RENAME_GROUP,
- GRP_WIDGET_REPLACE_PROTECTION,
+ WID_GL_ALL_VEHICLES, ///< All vehicles entry.
+ WID_GL_DEFAULT_VEHICLES, ///< Default vehicles entry.
+ WID_GL_LIST_GROUP, ///< List of the groups.
+ WID_GL_LIST_GROUP_SCROLLBAR, ///< Scrollbar for the list.
+ WID_GL_CREATE_GROUP, ///< Create group button.
+ WID_GL_DELETE_GROUP, ///< Delete group button.
+ WID_GL_RENAME_GROUP, ///< Rename group button.
+ WID_GL_REPLACE_PROTECTION, ///< Replace protection button.
};
#endif /* WIDGETS_GROUP_WIDGET_H */