OpenTTD Source
12.0-beta2
|
String list item with parameters. More...
#include <dropdown_type.h>
Public Member Functions | |
DropDownListParamStringItem (StringID string, int result, bool masked) | |
StringID | String () const override |
void | SetParam (uint index, uint64 value) |
void | SetParamStr (uint index, const char *str) |
![]() | |
DropDownListStringItem (StringID string, int result, bool masked) | |
bool | Selectable () const override |
uint | Width () const override |
void | Draw (int left, int right, int top, int bottom, bool sel, Colours bg_colour) const override |
![]() | |
DropDownListItem (int result, bool masked) | |
virtual uint | Height (uint width) const |
Data Fields | |
uint64 | decode_params [10] |
Parameters of the string. | |
![]() | |
StringID | string |
String ID of item. | |
![]() | |
int | result |
Result code to return to window on selection. | |
bool | masked |
Masked and unselectable item. | |
Additional Inherited Members | |
![]() | |
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... | |
String list item with parameters.
Definition at line 56 of file dropdown_type.h.