|
StringID | GetClassTooltip () const override |
| Get the tooltip string for the class list.
|
|
StringID | GetTypeTooltip () const override |
| Get the tooltip string for the type grid.
|
|
bool | IsActive () const override |
| Should picker class/type selection be enabled?
|
|
int | GetSelectedClass () const override |
| Get the index of the selected class.
|
|
void | SetSelectedClass (int id) const override |
| Set the selected class.
|
|
StringID | GetClassName (int id) const override |
| Get the name of a class.
|
|
int | GetSelectedType () const override |
| Get the selected type.
|
|
void | SetSelectedType (int id) const override |
| Set the selected type.
|
|
StringID | GetTypeName (int cls_id, int id) const override |
| Get the item of a type.
|
|
bool | IsTypeAvailable (int cls_id, int id) const override |
| Test if an item is currently buildable.
|
|
void | DrawType (int x, int y, int cls_id, int id) const override |
| Draw preview image of an item.
|
|
void | FillUsedItems (std::set< PickerItem > &items) override |
| Fill a set with all items that are used by the current player.
|
|
| PickerCallbacksNewGRFClass (const std::string &ini_group) |
|
T::index_type | GetClassIndex (int cls_id) const |
|
const ObjectClass * | GetClass (int cls_id) const |
|
const T::spec_type * | GetSpec (int cls_id, int id) const |
|
bool | HasClassChoice () const override |
| Are there multiple classes to chose from?
|
|
int | GetClassCount () const override |
| Get the number of classes. More...
|
|
int | GetTypeCount (int cls_id) const override |
| Get the number of types in a class. More...
|
|
PickerItem | GetPickerItem (const typename T::spec_type *spec, int cls_id=-1, int id=-1) const |
|
PickerItem | GetPickerItem (int cls_id, int id) const override |
| Get data about an item.
|
|
std::set< PickerItem > | UpdateSavedItems (const std::set< PickerItem > &src) override |
| Update link between grfid/localidx and class_index/index in saved items.
|
|
| PickerCallbacks (const std::string &ini_group) |
|
virtual void | Close (int) |
|
Definition at line 44 of file object_gui.cpp.