summaryrefslogtreecommitdiff
path: root/src/widgets/autoreplace_widget.h
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/widgets/autoreplace_widget.h
parent0e3647d4e3bd0b29f8bee6b21e690a04781acf22 (diff)
downloadopenttd-81d2bdbf477fca653e3ae15eac16ea4063bc8a72.tar.xz
(svn r26800) -Feature[FS#1640]: Vehicle sorting in autoreplace GUI.
Diffstat (limited to 'src/widgets/autoreplace_widget.h')
-rw-r--r--src/widgets/autoreplace_widget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/widgets/autoreplace_widget.h b/src/widgets/autoreplace_widget.h
index a302eea29..940282ac8 100644
--- a/src/widgets/autoreplace_widget.h
+++ b/src/widgets/autoreplace_widget.h
@@ -16,6 +16,10 @@
enum ReplaceVehicleWidgets {
WID_RV_CAPTION, ///< Caption of the window.
+ /* Sort dropdown at the right. */
+ WID_RV_SORT_ASSENDING_DESCENDING, ///< Ascending/descending sort order button.
+ WID_RV_SORT_DROPDOWN, ///< Dropdown for the sort criteria.
+
/* Left and right matrix + details. */
WID_RV_LEFT_MATRIX, ///< The matrix on the left.
WID_RV_LEFT_SCROLLBAR, ///< The scrollbar for the matrix on the left.