|
| | DropDownListColourItem (int colour, bool masked) |
| | 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 |
| int | OnClick (const Rect &r, const Point &pt) const override |
| void | Draw (const Rect &full, const Rect &r, bool sel, int click_result, Colours bg_colour) const override |
| | DropDownString (std::string &&string, Args &&... args) |
| void | FilterText (StringFilter &string_filter) const override |
| | Add text from this dropdown item to a string filter.
|
| void | SetString (std::string &&string) |
| uint | Height () const override |
| uint | Width () const override |
| int | OnClick (const Rect &r, const Point &pt) const override |
| void | Draw (const Rect &full, const Rect &r, bool sel, int click_result, Colours bg_colour) const override |
| | DropDownListItem (int result, bool masked=false, bool shaded=false) |
|
virtual | ~DropDownListItem ()=default |
| | Ensure the destructor of the sub classes are called as well.
|
| virtual bool | Selectable () const |
| | Can this dropdown item be selected?
|
| TextColour | GetColour (bool sel) const |
| | Get the colour of the text.
|
template<
SpriteID TSprite = SPR_SQUARE>
class DropDownListColourItem< TSprite >
Colour selection list item, with icon and string components.
- Template Parameters
-
| TSprite | Recolourable sprite to draw as icon. |
Definition at line 602 of file company_gui.cpp.