GuiFunctions::OpenContainer Class Reference

Inheritance diagram for GuiFunctions::OpenContainer:

Inheritance graph
[legend]
List of all members.

Public Member Functions

bool available (const MapCoordinate &pos, ContainerBase *subject, int num)
void execute (const MapCoordinate &pos, ContainerBase *subject, int num)
SurfacegetImage (const MapCoordinate &pos, ContainerBase *subject, int num)
bool checkForKey (const SDL_KeyboardEvent *key, int modifier, int num)
ASCString getName (const MapCoordinate &pos, ContainerBase *subject, int num)

Detailed Description

Definition at line 800 of file guifunctions.cpp.


Member Function Documentation

bool GuiFunctions::OpenContainer::available ( const MapCoordinate pos,
ContainerBase subject,
int  num 
) [inline, virtual]

Implements GuiFunction.

Definition at line 804 of file guifunctions.cpp.

References actmap, GameMap::actplayer, commandPending(), Player::diplomacy, fieldvisiblenow(), MapField::getContainer(), GameMap::getCurrentPlayer(), GameMap::getField(), ContainerBase::getMap(), GameMap::getNeutralPlayerNum(), DiplomaticStateVector::isAllied(), GameMap::player, Player::stat, and Player::supervisor.

void GuiFunctions::OpenContainer::execute ( const MapCoordinate pos,
ContainerBase subject,
int  num 
) [inline, virtual]

Implements GuiFunction.

Definition at line 821 of file guifunctions.cpp.

References actmap, cargoDialog(), MapField::getContainer(), GameMap::getField(), repaintMap, and updateFieldInfo.

Surface& GuiFunctions::OpenContainer::getImage ( const MapCoordinate pos,
ContainerBase subject,
int  num 
) [inline, virtual]

Implements GuiFunction.

Definition at line 830 of file guifunctions.cpp.

References IconRepository::getIcon().

bool GuiFunctions::OpenContainer::checkForKey ( const SDL_KeyboardEvent *  key,
int  modifier,
int  num 
) [inline, virtual]

Reimplemented from GuiFunction.

Definition at line 834 of file guifunctions.cpp.

ASCString GuiFunctions::OpenContainer::getName ( const MapCoordinate pos,
ContainerBase subject,
int  num 
) [inline, virtual]

Implements GuiFunction.

Definition at line 838 of file guifunctions.cpp.


The documentation for this class was generated from the following file:
Generated on Mon May 21 01:49:07 2012 for Advanced Strategic Command by  doxygen 1.5.1