summaryrefslogtreecommitdiff
path: root/src/widgets/dock_widget.h
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-12-16 16:27:45 +0000
committertruebrain <truebrain@openttd.org>2011-12-16 16:27:45 +0000
commite9f584ac210913a404e246184c8d3c1f52428b63 (patch)
treedbeb19676245b06fde6921f26e31575ec6979fd2 /src/widgets/dock_widget.h
parentb90aa80e77e1321bcae2389a014fe7595301e0e2 (diff)
downloadopenttd-e9f584ac210913a404e246184c8d3c1f52428b63.tar.xz
(svn r23531) -Codechange: document and rename widgets to be consistent and understandable
Diffstat (limited to 'src/widgets/dock_widget.h')
-rw-r--r--src/widgets/dock_widget.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/widgets/dock_widget.h b/src/widgets/dock_widget.h
index eedd42a25..010addfcc 100644
--- a/src/widgets/dock_widget.h
+++ b/src/widgets/dock_widget.h
@@ -14,16 +14,16 @@
/** Widgets of the WC_SCEN_BUILD_TOOLBAR / WC_BUILD_TOOLBAR (WC_SCEN_BUILD_TOOLBAR / WC_BUILD_TOOLBAR is also used in others). */
enum DockToolbarWidgets {
- DTW_BUTTONS_BEGIN, ///< Begin of clickable buttons (except seperating panel)
- DTW_CANAL = DTW_BUTTONS_BEGIN, ///< Build canal button
- DTW_LOCK, ///< Build lock button
- DTW_DEMOLISH, ///< Demolish aka dynamite button
- DTW_DEPOT, ///< Build depot button
- DTW_STATION, ///< Build station button
- DTW_BUOY, ///< Build buoy button
- DTW_RIVER, ///< Build river button (in scenario editor)
- DTW_BUILD_AQUEDUCT, ///< Build aqueduct button
- DTW_END, ///< End of toolbar widgets
+ WID_DT_CANAL, ///< Build canal button.
+ WID_DT_LOCK, ///< Build lock button.
+ WID_DT_DEMOLISH, ///< Demolish aka dynamite button.
+ WID_DT_DEPOT, ///< Build depot button.
+ WID_DT_STATION, ///< Build station button.
+ WID_DT_BUOY, ///< Build buoy button.
+ WID_DT_RIVER, ///< Build river button (in scenario editor).
+ WID_DT_BUILD_AQUEDUCT, ///< Build aqueduct button.
+
+ WID_DT_INVALID, ///< Used to initialize a variable.
};
#endif /* WIDGETS_DOCK_WIDGET_H */