summaryrefslogtreecommitdiff
path: root/src/script/api/script_window.hpp
diff options
context:
space:
mode:
authorTELK <telk5093@gmail.com>2019-07-23 04:27:39 +0900
committerCharles Pigott <charlespigott@googlemail.com>2019-07-22 20:27:39 +0100
commit196d586849684e62aa9a40093f2a1ce60e1cd53f (patch)
tree519f846ac8a112571e46127fed937aa5008e5699 /src/script/api/script_window.hpp
parentd71a7c21da27e5f99e48b8ad21b669d078932e35 (diff)
downloadopenttd-196d586849684e62aa9a40093f2a1ce60e1cd53f.tar.xz
Feature: Town name filtering (#7621)
Diffstat (limited to 'src/script/api/script_window.hpp')
-rw-r--r--src/script/api/script_window.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/api/script_window.hpp b/src/script/api/script_window.hpp
index 902b19244..3abc091d6 100644
--- a/src/script/api/script_window.hpp
+++ b/src/script/api/script_window.hpp
@@ -2486,6 +2486,7 @@ public:
enum TownDirectoryWidgets {
WID_TD_SORT_ORDER = ::WID_TD_SORT_ORDER, ///< Direction of sort dropdown.
WID_TD_SORT_CRITERIA = ::WID_TD_SORT_CRITERIA, ///< Criteria of sort dropdown.
+ WID_TD_FILTER = ::WID_TD_FILTER, ///< Filter of name.
WID_TD_LIST = ::WID_TD_LIST, ///< List of towns.
WID_TD_SCROLLBAR = ::WID_TD_SCROLLBAR, ///< Scrollbar for the town list.
WID_TD_WORLD_POPULATION = ::WID_TD_WORLD_POPULATION, ///< The world's population.