1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-02-03 18:08:14 +01:00

Feature: Industry production graph (#10541)

This commit is contained in:
Anatoly Eltsov
2024-11-01 01:35:04 +03:00
committed by GitHub
parent db1a1c5dd9
commit 3fca0cf3ee
9 changed files with 337 additions and 32 deletions

View File

@@ -25,17 +25,18 @@ enum GraphLegendWidgets : WidgetID {
enum GraphWidgets : WidgetID {
WID_GRAPH_KEY_BUTTON, ///< Key button.
WID_GRAPH_BACKGROUND, ///< Background of the window.
WID_GRAPH_CAPTION, ///< Caption.
WID_GRAPH_GRAPH, ///< Graph itself.
WID_GRAPH_RESIZE, ///< Resize button.
WID_GRAPH_HEADER, ///< Header.
WID_GRAPH_FOOTER, ///< Footer.
WID_PHG_DETAILED_PERFORMANCE, ///< Detailed performance.
WID_GRAPH_ENABLE_CARGOES, ///< Enable cargoes button.
WID_GRAPH_DISABLE_CARGOES, ///< Disable cargoes button.
WID_GRAPH_MATRIX, ///< Cargo list.
WID_GRAPH_MATRIX_SCROLLBAR,///< Cargo list scrollbar.
WID_CPR_ENABLE_CARGOES, ///< Enable cargoes button.
WID_CPR_DISABLE_CARGOES, ///< Disable cargoes button.
WID_CPR_MATRIX, ///< Cargo list.
WID_CPR_MATRIX_SCROLLBAR,///< Cargo list scrollbar.
WID_PHG_DETAILED_PERFORMANCE, ///< Detailed performance.
};
/** Widget of the #PerformanceRatingDetailWindow class. */

View File

@@ -29,6 +29,7 @@ enum IndustryViewWidgets : WidgetID {
WID_IV_INFO, ///< Info of the industry.
WID_IV_GOTO, ///< Goto button.
WID_IV_DISPLAY, ///< Display chain button.
WID_IV_GRAPH, ///< Production history button.
};
/** Widgets of the #IndustryDirectoryWindow class. */