Add cargo type filters to company delivered cargo window

Adapted from Citymania
This commit is contained in:
Jonathan G Rennison
2023-06-06 18:19:19 +01:00
parent 115241a052
commit f09dfc79bd
2 changed files with 171 additions and 10 deletions

View File

@@ -76,4 +76,14 @@ enum PerformanceRatingDetailsWidgets {
WID_PRD_COMPANY_LAST = WID_PRD_COMPANY_FIRST + MAX_COMPANIES - 1, ///< Last company.
};
/** Widget of the #ExcludingCargoBaseGraphWindow class. */
enum ExcludingCargoBaseGraphWindowWidgets {
WID_ECBG_FOOTER = 0x80, ///< Footer.
WID_ECBG_ENABLE_CARGOES, ///< Enable cargoes button.
WID_ECBG_DISABLE_CARGOES, ///< Disable cargoes button.
WID_ECBG_MATRIX, ///< Cargo list.
WID_ECBG_MATRIX_SCROLLBAR,///< Cargo list scrollbar.
WID_ECBG_CARGO_FIRST, ///< First cargo in the list.
};
#endif /* WIDGETS_GRAPH_WIDGET_H */