| OpenTTD
    | 
Expense list container. More...
| Public Member Functions | |
| ExpensesList (ExpensesType *et, int length, int num_subtotals) | |
| uint | GetHeight () const | 
| uint | GetCategoriesWidth () const | 
| Compute width of the expenses categories in pixels. | |
| Data Fields | |
| const ExpensesType * | et | 
| Expenses items. | |
| const uint | length | 
| Number of items in list. | |
| const uint | num_subtotals | 
| Number of sub-totals in the list. | |
Expense list container.
Definition at line 90 of file company_gui.cpp.
| 
 | inline | 
Compute width of the expenses categories in pixels.
Definition at line 106 of file company_gui.cpp.
References et, GetStringBoundingBox(), INVALID_EXPENSES, length, and max().
Referenced by CompanyFinancesWindow::UpdateWidgetSize().
 1.8.1.2
 1.8.1.2