summaryrefslogtreecommitdiff
path: root/src/script/api/script_window.hpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2014-09-07 16:11:14 +0000
committeralberth <alberth@openttd.org>2014-09-07 16:11:14 +0000
commit81d2bdbf477fca653e3ae15eac16ea4063bc8a72 (patch)
tree82c75a2155fabb2bb032d97ca91ccfd4e6fa4ca1 /src/script/api/script_window.hpp
parent0e3647d4e3bd0b29f8bee6b21e690a04781acf22 (diff)
downloadopenttd-81d2bdbf477fca653e3ae15eac16ea4063bc8a72.tar.xz
(svn r26800) -Feature[FS#1640]: Vehicle sorting in autoreplace GUI.
Diffstat (limited to 'src/script/api/script_window.hpp')
-rw-r--r--src/script/api/script_window.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/script/api/script_window.hpp b/src/script/api/script_window.hpp
index 81bac27ac..b42401f47 100644
--- a/src/script/api/script_window.hpp
+++ b/src/script/api/script_window.hpp
@@ -923,6 +923,10 @@ public:
enum ReplaceVehicleWidgets {
WID_RV_CAPTION = ::WID_RV_CAPTION, ///< Caption of the window.
+ /* Sort dropdown at the right. */
+ WID_RV_SORT_ASSENDING_DESCENDING = ::WID_RV_SORT_ASSENDING_DESCENDING, ///< Ascending/descending sort order button.
+ WID_RV_SORT_DROPDOWN = ::WID_RV_SORT_DROPDOWN, ///< Dropdown for the sort criteria.
+
/* Left and right matrix + details. */
WID_RV_LEFT_MATRIX = ::WID_RV_LEFT_MATRIX, ///< The matrix on the left.
WID_RV_LEFT_SCROLLBAR = ::WID_RV_LEFT_SCROLLBAR, ///< The scrollbar for the matrix on the left.