* Get width required for the formatted unit number display. * @param digits Number of digits required for unit number. * @return Required width in pixels. */
| 1744 | * @return Required width in pixels. |
| 1745 | */ |
| 1746 | static int GetUnitNumberWidth(int digits) |
| 1747 | { |
| 1748 | return GetStringBoundingBox(GetString(STR_JUST_COMMA, GetParamMaxDigits(digits))).width; |
| 1749 | } |
| 1750 | |
| 1751 | /** |
| 1752 | * Draw all the vehicle list items. |
no test coverage detected