
Public Member Functions | |
| OpenContainer (CargoDialog &masterParent) | |
| bool | available (const MapCoordinate &pos, ContainerBase *subject, int num) |
| void | execute (const MapCoordinate &pos, ContainerBase *subject, int num) |
| bool | checkForKey (const SDL_KeyboardEvent *key, int modifier, int num) |
| Surface & | getImage (const MapCoordinate &pos, ContainerBase *subject, int num) |
| ASCString | getName (const MapCoordinate &pos, ContainerBase *subject, int num) |
Definition at line 277 of file cargodialog.cpp.
| CargoGuiFunctions::OpenContainer::OpenContainer | ( | CargoDialog & | masterParent | ) | [inline] |
Definition at line 281 of file cargodialog.cpp.
| bool CargoGuiFunctions::OpenContainer::available | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [virtual] |
Implements GuiFunction.
Definition at line 2751 of file cargodialog.cpp.
References GameMap::actplayer, Player::diplomacy, ContainerBase::getMap(), ContainerBase::getOwner(), DiplomaticStateVector::isAllied(), ContainerBaseType::maxLoadableUnits, GameMap::player, and Vehicle::typ.
| void CargoGuiFunctions::OpenContainer::execute | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [virtual] |
Implements GuiFunction.
Definition at line 2767 of file cargodialog.cpp.
References CargoDialog::cargoChanged(), and cargoDialog().
| bool CargoGuiFunctions::OpenContainer::checkForKey | ( | const SDL_KeyboardEvent * | key, | |
| int | modifier, | |||
| int | num | |||
| ) | [virtual] |
| Surface & CargoGuiFunctions::OpenContainer::getImage | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [virtual] |
Implements GuiFunction.
Definition at line 2776 of file cargodialog.cpp.
References IconRepository::getIcon().
| ASCString CargoGuiFunctions::OpenContainer::getName | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [virtual] |
1.5.1