OpenTTD Source: VehicleCellSize Struct Reference

OpenTTD Source 15.0-RC2

Data Fields
VehicleCellSize Struct Reference

Dimensions of a cell in the purchase/depot windows. More...

`#include <vehicle_gui.h>`

## Data Fields
uint | height
| Vehicle cell height.
uint | extend_left
| Extend of the cell to the left.
uint | extend_right
| Extend of the cell to the right.

## Detailed Description

Dimensions of a cell in the purchase/depot windows.

Definition at line 83 of file vehicle_gui.h.

## Field Documentation

## ◆ extend_left

uint VehicleCellSize::extend_left

Extend of the cell to the left.

Definition at line 85 of file vehicle_gui.h.

Referenced by DrawEngineList(), and DepotWindow::UpdateWidgetSize().

## ◆ extend_right

uint VehicleCellSize::extend_right

Extend of the cell to the right.

Definition at line 86 of file vehicle_gui.h.

Referenced by DrawEngineList(), and DepotWindow::UpdateWidgetSize().

## ◆ height

uint VehicleCellSize::height

Vehicle cell height.

Definition at line 84 of file vehicle_gui.h.

Referenced by NewGRFInspectWindow::DrawVehicleChainWidget(), and DepotWindow::UpdateWidgetSize().

The documentation for this struct was generated from the following file:

- src/vehicle_gui.h