InternalAmmoTransferWindow Class Reference

Inheritance diagram for InternalAmmoTransferWindow:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 InternalAmmoTransferWindow (Vehicle *source, PG_Widget *parent)
bool somethingToTransfer ()
bool eventKeyDown (const SDL_KeyboardEvent *key)

Detailed Description

Definition at line 372 of file internalAmmoTransferDialog.cpp.


Constructor & Destructor Documentation

InternalAmmoTransferWindow::InternalAmmoTransferWindow ( Vehicle source,
PG_Widget *  parent 
)

Definition at line 407 of file internalAmmoTransferDialog.cpp.

References fieldsizex, fieldsizey, Surface::getBaseSurface(), IconRepository::getIcon(), Vehicle::getImage(), InternalAmmoTransferHandler::isAmmoTransferable(), and min().


Member Function Documentation

bool InternalAmmoTransferWindow::somethingToTransfer (  )  [inline]

Definition at line 392 of file internalAmmoTransferDialog.cpp.

References InternalAmmoTransferCommand::avail().

Referenced by internalAmmoTransferWindow().

bool InternalAmmoTransferWindow::eventKeyDown ( const SDL_KeyboardEvent *  key  )  [inline, virtual]

Reimplemented from ASC_PG_Dialog.

Definition at line 394 of file internalAmmoTransferDialog.cpp.


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