diff options
author | truebrain <truebrain@openttd.org> | 2011-12-16 18:33:02 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-12-16 18:33:02 +0000 |
commit | bcf00dbb8fbaf4c263034499633fa0c9e473f5db (patch) | |
tree | b4763b370fc61974b02ab86ceaf792ccb7adcfa1 /src/widgets/station_widget.h | |
parent | 6d0673f0c1e4e2170ae86b196620acad60170a15 (diff) | |
download | openttd-bcf00dbb8fbaf4c263034499633fa0c9e473f5db.tar.xz |
(svn r23553) -Fix: avoid naming conflict in widget enums
Diffstat (limited to 'src/widgets/station_widget.h')
-rw-r--r-- | src/widgets/station_widget.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/widgets/station_widget.h b/src/widgets/station_widget.h index 612eef777..ea81820d0 100644 --- a/src/widgets/station_widget.h +++ b/src/widgets/station_widget.h @@ -29,25 +29,25 @@ enum StationViewWidgets { /** Widgets of the WC_STATION_LIST. */ enum StationListWidgets { - WID_SL_CAPTION, ///< Caption of the window. - WID_SL_LIST, ///< The main panel, list of stations. - WID_SL_SCROLLBAR, ///< Scrollbar next to the main panel. + WID_STL_CAPTION, ///< Caption of the window. + WID_STL_LIST, ///< The main panel, list of stations. + WID_STL_SCROLLBAR, ///< Scrollbar next to the main panel. /* Vehicletypes need to be in order of StationFacility due to bit magic */ - WID_SL_TRAIN, ///< 'TRAIN' button - list only facilities where is a railroad station. - WID_SL_TRUCK, ///< 'TRUCK' button - list only facilities where is a truck stop. - WID_SL_BUS, ///< 'BUS' button - list only facilities where is a bus stop. - WID_SL_AIRPLANE, ///< 'AIRPLANE' button - list only facilities where is an airport. - WID_SL_SHIP, ///< 'SHIP' button - list only facilities where is a dock. - WID_SL_FACILALL, ///< 'ALL' button - list all facilities. + WID_STL_TRAIN, ///< 'TRAIN' button - list only facilities where is a railroad station. + WID_STL_TRUCK, ///< 'TRUCK' button - list only facilities where is a truck stop. + WID_STL_BUS, ///< 'BUS' button - list only facilities where is a bus stop. + WID_STL_AIRPLANE, ///< 'AIRPLANE' button - list only facilities where is an airport. + WID_STL_SHIP, ///< 'SHIP' button - list only facilities where is a dock. + WID_STL_FACILALL, ///< 'ALL' button - list all facilities. - WID_SL_NOCARGOWAITING, ///< 'NO' button - list stations where no cargo is waiting. - WID_SL_CARGOALL, ///< 'ALL' button - list all stations. + WID_STL_NOCARGOWAITING, ///< 'NO' button - list stations where no cargo is waiting. + WID_STL_CARGOALL, ///< 'ALL' button - list all stations. - WID_SL_SORTBY, ///< 'Sort by' button - reverse sort direction. - WID_SL_SORTDROPBTN, ///< Dropdown button. + WID_STL_SORTBY, ///< 'Sort by' button - reverse sort direction. + WID_STL_SORTDROPBTN, ///< Dropdown button. - WID_SL_CARGOSTART, ///< Widget numbers used for list of cargo types (not present in _company_stations_widgets). + WID_STL_CARGOSTART, ///< Widget numbers used for list of cargo types (not present in _company_stations_widgets). }; /** Widgets of the WC_SELECT_STATION. */ |