summaryrefslogtreecommitdiff
path: root/src/script/api/script_window.hpp
diff options
context:
space:
mode:
authorstormcone <48624099+stormcone@users.noreply.github.com>2019-11-23 20:14:44 +0100
committerCharles Pigott <charlespigott@googlemail.com>2020-01-05 20:52:17 +0000
commit70f9c3c655363bd8814f4a7d95e4dd94a85afd00 (patch)
tree8bd7f808d3a4d9389edebd6bb65277c73a3cebcb /src/script/api/script_window.hpp
parentab9042145e429be254ae1ff8a486c98f9b850fe7 (diff)
downloadopenttd-70f9c3c655363bd8814f4a7d95e4dd94a85afd00.tar.xz
Feature: Industry directory cargo filtering
Diffstat (limited to 'src/script/api/script_window.hpp')
-rw-r--r--src/script/api/script_window.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/script/api/script_window.hpp b/src/script/api/script_window.hpp
index 2b040c8c6..69d6b81f9 100644
--- a/src/script/api/script_window.hpp
+++ b/src/script/api/script_window.hpp
@@ -1523,6 +1523,8 @@ public:
enum IndustryDirectoryWidgets {
WID_ID_DROPDOWN_ORDER = ::WID_ID_DROPDOWN_ORDER, ///< Dropdown for the order of the sort.
WID_ID_DROPDOWN_CRITERIA = ::WID_ID_DROPDOWN_CRITERIA, ///< Dropdown for the criteria of the sort.
+ WID_ID_FILTER_BY_ACC_CARGO = ::WID_ID_FILTER_BY_ACC_CARGO, ///< Accepted cargo filter dropdown list.
+ WID_ID_FILTER_BY_PROD_CARGO = ::WID_ID_FILTER_BY_PROD_CARGO, ///< Produced cargo filter dropdown list.
WID_ID_INDUSTRY_LIST = ::WID_ID_INDUSTRY_LIST, ///< Industry list.
WID_ID_SCROLLBAR = ::WID_ID_SCROLLBAR, ///< Scrollbar of the list.
};