mirror of https://github.com/OpenTTD/OpenTTD
Codechange: Remove STR_TINY_RIGHT_ARROW
parent
222e37d319
commit
045a99dd23
|
@ -5591,6 +5591,7 @@ STR_VEHICLE_NAME :{VEHICLE}
|
||||||
STR_WAYPOINT_NAME :{WAYPOINT}
|
STR_WAYPOINT_NAME :{WAYPOINT}
|
||||||
|
|
||||||
STR_JUST_CARGO :{CARGO_LONG}
|
STR_JUST_CARGO :{CARGO_LONG}
|
||||||
|
STR_JUST_RIGHT_ARROW :{RIGHT_ARROW}
|
||||||
STR_JUST_CHECKMARK :{CHECKMARK}
|
STR_JUST_CHECKMARK :{CHECKMARK}
|
||||||
STR_JUST_COMMA :{COMMA}
|
STR_JUST_COMMA :{COMMA}
|
||||||
STR_JUST_CURRENCY_SHORT :{CURRENCY_SHORT}
|
STR_JUST_CURRENCY_SHORT :{CURRENCY_SHORT}
|
||||||
|
@ -5610,7 +5611,6 @@ STR_JUST_BIG_RAW_STRING :{BIG_FONT}{RAW_
|
||||||
# Slightly 'raw' stringcodes with colour or size
|
# Slightly 'raw' stringcodes with colour or size
|
||||||
STR_WHITE_SIGN :{WHITE}{SIGN}
|
STR_WHITE_SIGN :{WHITE}{SIGN}
|
||||||
STR_TINY_BLACK_HEIGHT :{TINY_FONT}{BLACK}{HEIGHT}
|
STR_TINY_BLACK_HEIGHT :{TINY_FONT}{BLACK}{HEIGHT}
|
||||||
STR_TINY_RIGHT_ARROW :{TINY_FONT}{RIGHT_ARROW}
|
|
||||||
|
|
||||||
STR_BLACK_1 :{BLACK}1
|
STR_BLACK_1 :{BLACK}1
|
||||||
STR_BLACK_2 :{BLACK}2
|
STR_BLACK_2 :{BLACK}2
|
||||||
|
|
|
@ -363,7 +363,7 @@ Dimension BaseVehicleListWindow::GetActionDropdownSize(bool show_autoreplace, bo
|
||||||
|
|
||||||
void BaseVehicleListWindow::OnInit()
|
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();
|
this->SetCargoFilterArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1560,7 +1560,7 @@ static void DrawSmallOrderList(const Vehicle *v, int left, int right, int y, uin
|
||||||
VehicleOrderID oid = start;
|
VehicleOrderID oid = start;
|
||||||
|
|
||||||
do {
|
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)) {
|
if (order->IsType(OT_GOTO_STATION)) {
|
||||||
SetDParam(0, order->GetDestination());
|
SetDParam(0, order->GetDestination());
|
||||||
|
|
Loading…
Reference in New Issue