|
|
|
@ -363,7 +363,7 @@ Dimension BaseVehicleListWindow::GetActionDropdownSize(bool show_autoreplace, bo
|
|
|
|
|
|
|
|
|
|
void BaseVehicleListWindow::OnInit()
|
|
|
|
|
{
|
|
|
|
|
this->order_arrow_width = GetStringBoundingBox(STR_TINY_RIGHT_ARROW).width;
|
|
|
|
|
this->order_arrow_width = GetStringBoundingBox(STR_JUST_RIGHT_ARROW, FS_SMALL).width;
|
|
|
|
|
this->SetCargoFilterArray();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1560,7 +1560,7 @@ static void DrawSmallOrderList(const Vehicle *v, int left, int right, int y, uin
|
|
|
|
|
VehicleOrderID oid = start;
|
|
|
|
|
|
|
|
|
|
do {
|
|
|
|
|
if (oid == v->cur_real_order_index) DrawString(left, right, y, STR_TINY_RIGHT_ARROW, TC_BLACK);
|
|
|
|
|
if (oid == v->cur_real_order_index) DrawString(left, right, y, STR_JUST_RIGHT_ARROW, TC_BLACK, SA_LEFT, false, FS_SMALL);
|
|
|
|
|
|
|
|
|
|
if (order->IsType(OT_GOTO_STATION)) {
|
|
|
|
|
SetDParam(0, order->GetDestination());
|
|
|
|
|