--- a/src/station_gui.h Wed Jan 09 18:11:12 2008 +0000
+++ b/src/station_gui.h Sun Feb 03 20:17:54 2008 +0000
@@ -24,11 +24,10 @@
SLW_PAN_RIGHT = 15, ///< Panel right of list of cargo types
SLW_SORTBY = 16, ///< 'Sort by' button - reverse sort direction
- SLW_SORTCRITERIA = 17, ///< Button - list of criteria
- SLW_SORTDROPBTN = 18, ///< Dropdown button
- SLW_PAN_SORT_RIGHT = 19, ///< Panel right of sorting options
+ SLW_SORTDROPBTN = 17, ///< Dropdown button
+ SLW_PAN_SORT_RIGHT = 18, ///< Panel right of sorting options
- SLW_CARGOSTART = 20, ///< Widget numbers used for list of cargo types (not present in _player_stations_widgets)
+ SLW_CARGOSTART = 19, ///< Widget numbers used for list of cargo types (not present in _player_stations_widgets)
};
/** Enum for StationView, referring to _station_view_widgets and _station_view_expanded_widgets */
@@ -37,15 +36,16 @@
SVW_CAPTION = 1, ///< Caption of the window
SVW_WAITING = 3, ///< List of waiting cargo
SVW_ACCEPTLIST = 5, ///< List of accepted cargos
- SVW_RATINGLIST = 6, ///< Ratings of cargos
- SVW_LOCATION = 7, ///< 'Location' button
- SVW_RATINGS = 8, ///< 'Ratings' button
- SVW_ACCEPTS = 8, ///< 'Accepts' button
- SVW_RENAME = 9, ///< 'Rename' button
- SVW_TRAINS = 10, ///< List of scheduled trains button
+ SVW_RATINGLIST = 5, ///< Ratings of cargos
+ SVW_LOCATION = 6, ///< 'Location' button
+ SVW_RATINGS = 7, ///< 'Ratings' button
+ SVW_ACCEPTS = 7, ///< 'Accepts' button
+ SVW_RENAME = 8, ///< 'Rename' button
+ SVW_TRAINS = 9, ///< List of scheduled trains button
SVW_ROADVEHS, ///< List of scheduled road vehs button
SVW_PLANES, ///< List of scheduled planes button
SVW_SHIPS, ///< List of scheduled ships button
+ SVW_RESIZE, ///< Resize button
};
/* sorter stuff */
@@ -58,7 +58,9 @@
SCT_ALL
};
-void DrawStationCoverageAreaText(int sx, int sy, StationCoverageType sct, int rad);
+int DrawStationCoverageAreaText(int sx, int sy, StationCoverageType sct, int rad);
void CheckRedrawStationCoverage(const Window *w);
+extern bool _station_show_coverage;
+
#endif /* STATION_GUI_H */