Make company infrastructure window scrollable

This commit is contained in:
Jonathan G Rennison
2022-04-29 01:37:49 +01:00
parent 7b250c5a4a
commit f37575d170
2 changed files with 135 additions and 122 deletions

View File

@@ -174,18 +174,9 @@ enum SelectCompanyManagerFaceWidgets {
/** Widgets of the #CompanyInfrastructureWindow class. */
enum CompanyInfrastructureWidgets {
WID_CI_CAPTION, ///< Caption of window.
WID_CI_RAIL_DESC, ///< Description of rail.
WID_CI_RAIL_COUNT, ///< Count of rail.
WID_CI_ROAD_DESC, ///< Description of road.
WID_CI_ROAD_COUNT, ///< Count of road.
WID_CI_TRAM_DESC, ///< Description of tram.
WID_CI_TRAM_COUNT, ///< Count of tram.
WID_CI_WATER_DESC, ///< Description of water.
WID_CI_WATER_COUNT, ///< Count of water.
WID_CI_STATION_DESC, ///< Description of station.
WID_CI_STATION_COUNT, ///< Count of station.
WID_CI_TOTAL_DESC, ///< Description of total.
WID_CI_TOTAL, ///< Count of total.
WID_CI_DESC, ///< Description.
WID_CI_COUNT, ///< Count.
WID_CI_SCROLLBAR, ///< Scrollbar.
};
/** Widgets of the #BuyCompanyWindow class. */