Merge pull request #293 from VacuumBreather/station_cargo_history

Add station cargo history
This commit is contained in:
Jonathan G Rennison
2021-06-29 19:53:18 +01:00
committed by GitHub
16 changed files with 409 additions and 4 deletions

View File

@@ -53,6 +53,20 @@ enum CargoPaymentRatesWidgets {
WID_CPR_SPEED, ///< Speed mode.
};
/** Widget of the #StationCargoGraphWindow class. */
enum StationCargoWidgets {
WID_SCG_CAPTION, ///< Window title
WID_SCG_BACKGROUND, ///< Background of the window.
WID_SCG_HEADER, ///< Header.
WID_SCG_GRAPH, ///< Graph itself.
WID_SCG_RESIZE, ///< Resize button.
WID_SCG_FOOTER, ///< Footer.
WID_SCG_ENABLE_CARGOES, ///< Enable cargoes button.
WID_SCG_DISABLE_CARGOES, ///< Disable cargoes button.
WID_SCG_MATRIX, ///< Cargo list.
WID_SCG_MATRIX_SCROLLBAR, ///< Cargo list scrollbar.
};
/** Widget of the #CompanyLeagueWindow class. */
enum CompanyLeagueWidgets {
WID_CL_BACKGROUND, ///< Background of the window.

View File

@@ -30,6 +30,7 @@ enum StationViewWidgets {
WID_SV_PLANES, ///< List of scheduled planes button.
WID_SV_CATCHMENT, ///< Toggle catchment area highlight.
WID_SV_DEPARTURES, ///< Departures button.
WID_SV_HISTORY, ///< Cargo history button.
};
/** Widgets of the #CompanyStationsWindow class. */