diff options
author | truebrain <truebrain@openttd.org> | 2011-12-15 22:22:55 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-12-15 22:22:55 +0000 |
commit | 2aa774e831ad1cb7849c998759449ef777c5c664 (patch) | |
tree | 37293298be999cb3446fe4af7f11e107bfa17c3d /src/bridge_gui.cpp | |
parent | fd559171b4ab5ce09b67aa8c4e9f2d0482a09558 (diff) | |
download | openttd-2aa774e831ad1cb7849c998759449ef777c5c664.tar.xz |
(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h
Diffstat (limited to 'src/bridge_gui.cpp')
-rw-r--r-- | src/bridge_gui.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/bridge_gui.cpp b/src/bridge_gui.cpp index 0a0d788d4..e3065d071 100644 --- a/src/bridge_gui.cpp +++ b/src/bridge_gui.cpp @@ -25,6 +25,8 @@ #include "tunnelbridge_map.h" #include "road_gui.h" +#include "widgets/bridge_widget.h" + #include "table/strings.h" /** The type of the last built rail bridge */ @@ -70,15 +72,6 @@ void CcBuildBridge(const CommandCost &result, TileIndex end_tile, uint32 p1, uin } } -/** Names of the widgets of the build-bridge selection window. */ -enum BuildBridgeSelectionWidgets { - BBSW_CAPTION, - BBSW_DROPDOWN_ORDER, - BBSW_DROPDOWN_CRITERIA, - BBSW_BRIDGE_LIST, - BBSW_SCROLLBAR, -}; - /** Window class for handling the bridge-build GUI. */ class BuildBridgeWindow : public Window { private: |