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

Public Member Functions

 RecycleUnitCommandButton (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 290 of file cargodialog.cpp.

Constructor & Destructor Documentation

CargoGuiFunctions::RecycleUnitCommandButton::RecycleUnitCommandButton ( CargoDialog masterParent)
inline

Definition at line 295 of file cargodialog.cpp.

Member Function Documentation

bool CargoGuiFunctions::RecycleUnitCommandButton::available ( const MapCoordinate pos,
ContainerBase subject,
int  num 
)
virtual
bool CargoGuiFunctions::RecycleUnitCommandButton::checkForKey ( const SDL_KeyboardEvent *  key,
int  modifier,
int  num 
)
virtual

Reimplemented from GuiFunction.

Definition at line 2855 of file cargodialog.cpp.

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

Implements GuiFunction.

Definition at line 2850 of file cargodialog.cpp.

References IconRepository::getIcon().

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

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