OpenTTD Source  20241121-master-g67a0fccfad
DropDownListCompanyItem Class Reference

Company name list item, with company-colour icon, name, and lock components. More...

Inheritance diagram for DropDownListCompanyItem:
DropDownIcon< DropDownIcon< DropDownString< DropDownListItem >, true > >

Public Member Functions

 DropDownListCompanyItem (CompanyID company, bool shaded)
 
- Public Member Functions inherited from DropDownIcon< DropDownIcon< DropDownString< DropDownListItem >, true > >
 DropDownIcon (SpriteID sprite, PaletteID palette, Args &&... args)
 
 DropDownIcon (const Dimension &dim, SpriteID sprite, PaletteID palette, Args &&... args)
 
uint Height () const override
 
uint Width () const override
 
void Draw (const Rect &full, const Rect &r, bool sel, Colours bg_colour) const override
 

Detailed Description

Company name list item, with company-colour icon, name, and lock components.

Definition at line 99 of file toolbar_gui.cpp.


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