summaryrefslogtreecommitdiff
path: root/src/order_gui.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-09-19 11:55:44 +0000
committeralberth <alberth@openttd.org>2009-09-19 11:55:44 +0000
commitceab116065b3bde0c8932f1006374f9e37529436 (patch)
tree7b059fe2989966b1118df1ec33c5168fffd06ac6 /src/order_gui.cpp
parent116c77c342d0f628235a7f5dbacfbb5bc3fb0829 (diff)
downloadopenttd-ceab116065b3bde0c8932f1006374f9e37529436.tar.xz
(svn r17573) -Codechange: NWID_SELECTION containers have a selected widget-plane, and optionally an index in the nested_array.
Diffstat (limited to 'src/order_gui.cpp')
-rw-r--r--src/order_gui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/order_gui.cpp b/src/order_gui.cpp
index 70c18c173..affbce6bd 100644
--- a/src/order_gui.cpp
+++ b/src/order_gui.cpp
@@ -1296,7 +1296,7 @@ static const NWidgetPart _nested_orders_train_widgets[] = {
/* First button row. */
NWidget(NWID_HORIZONTAL),
- NWidget(NWID_SELECTION),
+ NWidget(NWID_SELECTION, INVALID_COLOUR, -1),
/* Unload + (full load, unload) or (refit, service) buttons. */
NWidget(NWID_HORIZONTAL),
NWidget(NWID_LAYERED),
@@ -1306,7 +1306,7 @@ static const NWidgetPart _nested_orders_train_widgets[] = {
EndContainer(),
NWidget(WWT_DROPDOWN, COLOUR_GREY, ORDER_WIDGET_NON_STOP_DROPDOWN), SetMinimalSize(124, 12), SetDataTip(STR_NULL, STR_ORDER_TOOLTIP_NON_STOP),
EndContainer(),
- NWidget(NWID_SELECTION),
+ NWidget(NWID_SELECTION, INVALID_COLOUR, -1),
NWidget(NWID_HORIZONTAL),
NWidget(NWID_LAYERED),
NWidget(NWID_HORIZONTAL),
@@ -1433,7 +1433,7 @@ static const NWidgetPart _nested_orders_widgets[] = {
/* First button row. */
NWidget(NWID_HORIZONTAL),
- NWidget(NWID_SELECTION),
+ NWidget(NWID_SELECTION, INVALID_COLOUR, -1),
/* Refit + service buttons. */
NWidget(NWID_HORIZONTAL),
NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, ORDER_WIDGET_REFIT), SetMinimalSize(186, 12), SetDataTip(STR_ORDER_REFIT, STR_ORDER_REFIT_TOOLTIP),