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:
Peter Nelson
2024-06-23 17:55:37 +01:00
committed by GitHub
parent 7116f143d5
commit e802c1a97f
5 changed files with 16 additions and 4 deletions
+1
View File
@@ -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.