OpenTTD
|
String list item with parameters. More...
#include <dropdown_type.h>
Public Member Functions | |
DropDownListParamStringItem (StringID string, int result, bool masked) | |
virtual StringID | String () const |
virtual void | SetParam (uint index, uint64 value) |
![]() | |
DropDownListStringItem (StringID string, int result, bool masked) | |
virtual bool | Selectable () const |
virtual uint | Width () const |
virtual void | Draw (int left, int right, int top, int bottom, bool sel, int bg_colour) const |
![]() | |
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 int CDECL | NatSortFunc (const DropDownListItem *const *first, const DropDownListItem *const *second) |
Natural sorting comparator function for DropDownList::sort(). |
String list item with parameters.
Definition at line 59 of file dropdown_type.h.