OpenTTD
|
Base list item class from which others are derived. More...
#include <dropdown_type.h>
Public Member Functions | |
DropDownListItem (int result, bool masked) | |
virtual bool | Selectable () const |
virtual uint | Height (uint width) const |
virtual uint | Width () const |
virtual void | Draw (int left, int right, int top, int bottom, bool sel, int bg_colour) const |
Data Fields | |
int | result |
Result code to return to window on selection. | |
bool | masked |
Masked and unselectable item. |
Base list item class from which others are derived.
If placed in a list it will appear as a horizontal line in the menu.
Definition at line 24 of file dropdown_type.h.