OpenTTD Source  20241125-master-g5b02f51e17
ExpensesList Struct Reference

Expense list container. More...

Public Member Functions

 ExpensesList (StringID title, const std::initializer_list< ExpensesType > &list)
 
uint GetHeight () const
 
uint GetListWidth () const
 Compute width of the expenses categories in pixels.
 

Data Fields

const StringID title
 StringID of list title.
 
const std::initializer_list< ExpensesType > & items
 List of expenses types.
 

Detailed Description

Expense list container.

Definition at line 85 of file company_gui.cpp.


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