1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-12 09:09:09 +00:00

(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h

This commit is contained in:
truebrain
2011-12-15 22:22:55 +00:00
parent fd559171b4
commit 2aa774e831
111 changed files with 3165 additions and 1624 deletions

View File

@@ -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: