OpenTTD Source
20241121-master-g67a0fccfad
|
Colour selection list item, with icon and string components. More...
Public Member Functions | |
DropDownListColourItem (int colour, bool masked) | |
Public Member Functions inherited from DropDownIcon< DropDownString< DropDownListItem > > | |
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 |
Public Member Functions inherited from DropDownString< TBase, TFs, TEnd > | |
template<typename... Args> | |
DropDownString (StringID string, Args &&... args) | |
template<typename... Args> | |
DropDownString (const std::string &string, Args &&... args) | |
void | SetString (std::string &&string) |
uint | Height () const override |
uint | Width () const override |
void | Draw (const Rect &full, const Rect &r, bool sel, Colours bg_colour) const override |
Additional Inherited Members | |
Static Public Member Functions inherited from DropDownString< TBase, TFs, TEnd > | |
static bool | NatSortFunc (std::unique_ptr< const DropDownListItem > const &first, std::unique_ptr< const DropDownListItem > const &second) |
Natural sorting comparator function for DropDownList::sort(). More... | |
Colour selection list item, with icon and string components.
TSprite | Recolourable sprite to draw as icon. |
Definition at line 569 of file company_gui.cpp.