Advanced Strategic Command
Public Member Functions | List of all members
CargoGuiFunctions::RefuelUnitDialogCommand Class Reference
Inheritance diagram for CargoGuiFunctions::RefuelUnitDialogCommand:
Inheritance graph
[legend]

Public Member Functions

 RefuelUnitDialogCommand (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)
 
SurfacegetImage (const MapCoordinate &pos, ContainerBase *subject, int num)
 
ASCString getName (const MapCoordinate &pos, ContainerBase *subject, int num)
 
- Public Member Functions inherited from GuiFunction
virtual ~GuiFunction ()
 

Detailed Description

Definition at line 229 of file cargodialog.cpp.

Constructor & Destructor Documentation

CargoGuiFunctions::RefuelUnitDialogCommand::RefuelUnitDialogCommand ( CargoDialog masterParent)
inline

Definition at line 233 of file cargodialog.cpp.

Member Function Documentation

bool CargoGuiFunctions::RefuelUnitDialogCommand::available ( const MapCoordinate pos,
ContainerBase subject,
int  num 
)
virtual

Implements GuiFunction.

Definition at line 2707 of file cargodialog.cpp.

References CargoDialog::getContainer(), and ServiceCommand::getDestinations().

bool CargoGuiFunctions::RefuelUnitDialogCommand::checkForKey ( const SDL_KeyboardEvent *  key,
int  modifier,
int  num 
)
virtual

Reimplemented from GuiFunction.

Definition at line 2740 of file cargodialog.cpp.

void CargoGuiFunctions::RefuelUnitDialogCommand::execute ( const MapCoordinate pos,
ContainerBase subject,
int  num 
)
virtual
Surface & CargoGuiFunctions::RefuelUnitDialogCommand::getImage ( const MapCoordinate pos,
ContainerBase subject,
int  num 
)
virtual

Implements GuiFunction.

Definition at line 2735 of file cargodialog.cpp.

References IconRepository::getIcon().

ASCString CargoGuiFunctions::RefuelUnitDialogCommand::getName ( const MapCoordinate pos,
ContainerBase subject,
int  num 
)
virtual

Implements GuiFunction.

Definition at line 2745 of file cargodialog.cpp.


The documentation for this class was generated from the following file: