equal
deleted
inserted
replaced
993 int text_end = DrawVehiclePurchaseInfo(2, wi->top + 1, wi->right - wi->left - 2, bv->sel_engine); |
993 int text_end = DrawVehiclePurchaseInfo(2, wi->top + 1, wi->right - wi->left - 2, bv->sel_engine); |
994 |
994 |
995 if (text_end > wi->bottom) ExpandPurchaseInfoWidget(w, text_end - wi->bottom); |
995 if (text_end > wi->bottom) ExpandPurchaseInfoWidget(w, text_end - wi->bottom); |
996 } |
996 } |
997 |
997 |
998 DoDrawString(bv->descending_sort_order ? DOWNARROW : UPARROW, 69, 15, TC_BLACK); |
998 DrawSortButtonState(w, BUILD_VEHICLE_WIDGET_SORT_ASSENDING_DESCENDING, bv->descending_sort_order ? SBS_DOWN : SBS_UP); |
999 } |
999 } |
1000 |
1000 |
1001 static void BuildVehicleClickEvent(Window *w, WindowEvent *e) |
1001 static void BuildVehicleClickEvent(Window *w, WindowEvent *e) |
1002 { |
1002 { |
1003 buildvehicle_d *bv = &WP(w, buildvehicle_d); |
1003 buildvehicle_d *bv = &WP(w, buildvehicle_d); |