
Public Member Functions | |
| TransferUnitControl (CargoDialog &masterParent) | |
| bool | available (const MapCoordinate &pos, ContainerBase *subject, int num) |
| void | execute (const MapCoordinate &pos, ContainerBase *subject, int num) |
| Surface & | getImage (const MapCoordinate &pos, ContainerBase *subject, int num) |
| ASCString | getName (const MapCoordinate &pos, ContainerBase *subject, int num) |
Definition at line 315 of file cargodialog.cpp.
| CargoGuiFunctions::TransferUnitControl::TransferUnitControl | ( | CargoDialog & | masterParent | ) | [inline] |
Definition at line 319 of file cargodialog.cpp.
| bool CargoGuiFunctions::TransferUnitControl::available | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [virtual] |
Implements GuiFunction.
Definition at line 2516 of file cargodialog.cpp.
References GameMap::actplayer, TransferControlCommand::avail(), ContainerBase::getMap(), and ContainerBase::getOwner().
| void CargoGuiFunctions::TransferUnitControl::execute | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [virtual] |
Implements GuiFunction.
Definition at line 2544 of file cargodialog.cpp.
References CargoDialog::cargoChanged(), chooseString(), createContext(), displayActionError(), infoMessage(), ActionResult::successful(), and ActionRegistry::TransferControlCommand.
| Surface & CargoGuiFunctions::TransferUnitControl::getImage | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [virtual] |
Implements GuiFunction.
Definition at line 2533 of file cargodialog.cpp.
References IconRepository::getIcon().
| ASCString CargoGuiFunctions::TransferUnitControl::getName | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [virtual] |
1.5.1