Changeset - r27251:32eeeb197cbd
[Not reviewed]
master
0 2 0
glx22 - 14 months ago 2023-04-28 15:02:34
glx@openttd.org
Codechange: Remove STR_TINY_RIGHT_ARROW
2 files changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/lang/english.txt
Show inline comments
 
@@ -5591,6 +5591,7 @@ STR_VEHICLE_NAME                        
 
STR_WAYPOINT_NAME                                               :{WAYPOINT}
 

	
 
STR_JUST_CARGO                                                  :{CARGO_LONG}
 
STR_JUST_RIGHT_ARROW                                            :{RIGHT_ARROW}
 
STR_JUST_CHECKMARK                                              :{CHECKMARK}
 
STR_JUST_COMMA                                                  :{COMMA}
 
STR_JUST_CURRENCY_SHORT                                         :{CURRENCY_SHORT}
 
@@ -5610,7 +5611,6 @@ STR_JUST_BIG_RAW_STRING                 
 
# Slightly 'raw' stringcodes with colour or size
 
STR_WHITE_SIGN                                                  :{WHITE}{SIGN}
 
STR_TINY_BLACK_HEIGHT                                           :{TINY_FONT}{BLACK}{HEIGHT}
 
STR_TINY_RIGHT_ARROW                                            :{TINY_FONT}{RIGHT_ARROW}
 

	
 
STR_BLACK_1                                                     :{BLACK}1
 
STR_BLACK_2                                                     :{BLACK}2
src/vehicle_gui.cpp
Show inline comments
 
@@ -363,7 +363,7 @@ Dimension BaseVehicleListWindow::GetActi
 

	
 
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 Veh
 
	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());
0 comments (0 inline, 0 general)