summaryrefslogtreecommitdiff
path: root/src/widgets/dock_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/dock_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/dock_widget.h')
-rw-r--r--src/widgets/dock_widget.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/widgets/dock_widget.h b/src/widgets/dock_widget.h
index 010addfcc..080282bd3 100644
--- a/src/widgets/dock_widget.h
+++ b/src/widgets/dock_widget.h
@@ -12,7 +12,14 @@
#ifndef WIDGETS_DOCK_WIDGET_H
#define WIDGETS_DOCK_WIDGET_H
-/** Widgets of the WC_SCEN_BUILD_TOOLBAR / WC_BUILD_TOOLBAR (WC_SCEN_BUILD_TOOLBAR / WC_BUILD_TOOLBAR is also used in others). */
+/** Widgets of the #BuildDocksDepotWindow class. */
+enum BuildDockDepotWidgets {
+ WID_BDD_BACKGROUND, ///< Background of the window.
+ WID_BDD_X, ///< X-direction button.
+ WID_BDD_Y, ///< Y-direction button.
+};
+
+/** Widgets of the #BuildDocksToolbarWindow class. */
enum DockToolbarWidgets {
WID_DT_CANAL, ///< Build canal button.
WID_DT_LOCK, ///< Build lock button.