diff options
author | rubidium <rubidium@openttd.org> | 2009-11-24 17:28:29 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-24 17:28:29 +0000 |
commit | 69b6d9309a5e592b2117b1c851ab680ef9ffd9ed (patch) | |
tree | 1f7c5923c848b436b31d9f4e704d50493203f80f /src/vehicle_gui.cpp | |
parent | 8371be352b8e4da1637fb63694ce878bc8a6b342 (diff) | |
download | openttd-69b6d9309a5e592b2117b1c851ab680ef9ffd9ed.tar.xz |
(svn r18274) -Codechange: remove the unused WDF flags
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r-- | src/vehicle_gui.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index 95a157429..9482f6428 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -449,7 +449,7 @@ static const NWidgetPart _nested_vehicle_refit_widgets[] = { static const WindowDesc _vehicle_refit_desc( WDP_AUTO, WDP_AUTO, 240, 174, WC_VEHICLE_REFIT, WC_VEHICLE_VIEW, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE | WDF_CONSTRUCTION, + WDF_UNCLICK_BUTTONS | WDF_CONSTRUCTION, _nested_vehicle_refit_widgets, lengthof(_nested_vehicle_refit_widgets) ); @@ -1194,7 +1194,7 @@ public: static WindowDesc _vehicle_list_desc( WDP_AUTO, WDP_AUTO, 260, 246, WC_INVALID, WC_NONE, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE, + WDF_UNCLICK_BUTTONS, _nested_vehicle_list, lengthof(_nested_vehicle_list) ); @@ -1608,7 +1608,7 @@ struct VehicleDetailsWindow : Window { static const WindowDesc _train_vehicle_details_desc( WDP_AUTO, WDP_AUTO, 405, 178, WC_VEHICLE_DETAILS, WC_VEHICLE_VIEW, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE, + WDF_UNCLICK_BUTTONS, _nested_train_vehicle_details_widgets, lengthof(_nested_train_vehicle_details_widgets) ); @@ -1616,7 +1616,7 @@ static const WindowDesc _train_vehicle_details_desc( static const WindowDesc _nontrain_vehicle_details_desc( WDP_AUTO, WDP_AUTO, 405, 113, WC_VEHICLE_DETAILS, WC_VEHICLE_VIEW, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE, + WDF_UNCLICK_BUTTONS, _nested_nontrain_vehicle_details_widgets, lengthof(_nested_nontrain_vehicle_details_widgets) ); @@ -1673,7 +1673,7 @@ static const NWidgetPart _nested_vehicle_view_widgets[] = { static const WindowDesc _vehicle_view_desc( WDP_AUTO, WDP_AUTO, 250, 116, WC_VEHICLE_VIEW, WC_NONE, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE, + WDF_UNCLICK_BUTTONS, _nested_vehicle_view_widgets, lengthof(_nested_vehicle_view_widgets) ); @@ -1683,7 +1683,7 @@ static const WindowDesc _vehicle_view_desc( static const WindowDesc _train_view_desc( WDP_AUTO, WDP_AUTO, 250, 134, WC_VEHICLE_VIEW, WC_NONE, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE, + WDF_UNCLICK_BUTTONS, _nested_vehicle_view_widgets, lengthof(_nested_vehicle_view_widgets) ); |