mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-18 01:42:38 +01:00
Add: Show count of towns and industries in their directory window captions. (#12800)
These windows now show "(<visible> of <total>)" in the caption.
This commit is contained in:
@@ -33,6 +33,7 @@ enum IndustryViewWidgets : WidgetID {
|
||||
|
||||
/** Widgets of the #IndustryDirectoryWindow class. */
|
||||
enum IndustryDirectoryWidgets : WidgetID {
|
||||
WID_ID_CAPTION, ///< Caption of the window.
|
||||
WID_ID_DROPDOWN_ORDER, ///< Dropdown for the order of the sort.
|
||||
WID_ID_DROPDOWN_CRITERIA, ///< Dropdown for the criteria of the sort.
|
||||
WID_ID_FILTER_BY_ACC_CARGO, ///< Accepted cargo filter dropdown list.
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
|
||||
/** Widgets of the #TownDirectoryWindow class. */
|
||||
enum TownDirectoryWidgets : WidgetID {
|
||||
WID_TD_CAPTION, ///< Caption of the window.
|
||||
WID_TD_SORT_ORDER, ///< Direction of sort dropdown.
|
||||
WID_TD_SORT_CRITERIA, ///< Criteria of sort dropdown.
|
||||
WID_TD_FILTER, ///< Filter of name.
|
||||
|
||||
Reference in New Issue
Block a user