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

Public Member Functions

 UnitInfo (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 304 of file cargodialog.cpp.

Constructor & Destructor Documentation

CargoGuiFunctions::UnitInfo::UnitInfo ( CargoDialog masterParent)
inline

Definition at line 308 of file cargodialog.cpp.

Member Function Documentation

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

Implements GuiFunction.

Definition at line 2481 of file cargodialog.cpp.

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

Reimplemented from GuiFunction.

Definition at line 2491 of file cargodialog.cpp.

void CargoGuiFunctions::UnitInfo::execute ( const MapCoordinate pos,
ContainerBase subject,
int  num 
)
virtual

Implements GuiFunction.

Definition at line 2507 of file cargodialog.cpp.

References Vehicle::typ, and unitInfoDialog().

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

Implements GuiFunction.

Definition at line 2496 of file cargodialog.cpp.

References IconRepository::getIcon().

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

Implements GuiFunction.

Definition at line 2501 of file cargodialog.cpp.


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