Advanced Strategic Command
Public Member Functions | List of all members
AmmoTransferWindow Class Reference
Inheritance diagram for AmmoTransferWindow:
Inheritance graph

Public Member Functions

 AmmoTransferWindow (ContainerBase *source, ContainerBase *destination, PG_Widget *parent, ServiceCommand *command)
bool somethingToTransfer ()
bool eventKeyDown (const SDL_KeyboardEvent *key)
 ~AmmoTransferWindow ()
- Public Member Functions inherited from ASC_PG_Dialog
 ASC_PG_Dialog (PG_Widget *parent, const PG_Rect &r, const ASCString &windowtext, WindowFlags flags=DEFAULT, const ASCString &style="Window", int heightTitlebar=25)
PG_Button * AddStandardButton (const ASCString &name)
void StandardButtonDirection (StandardButtonDirectonType dir)
int RunModal ()

Additional Inherited Members

- Public Types inherited from ASC_PG_Dialog
enum  StandardButtonDirectonType { Vertical, Horizontal }
- Static Public Member Functions inherited from ASC_PG_Dialog
static PG_Rect centerRectangle (const PG_Rect &rect)
- Protected Member Functions inherited from ASC_PG_Dialog
virtual bool closeWindow ()
bool quitModalLoopW (PG_Button *button, int value)
bool quitModalLoop (int value)
- Protected Attributes inherited from ASC_PG_Dialog
PG_MessageObject * caller

Detailed Description

Definition at line 92 of file ammotransferdialog.cpp.

Constructor & Destructor Documentation

AmmoTransferWindow::AmmoTransferWindow ( ContainerBase source,
ContainerBase destination,
PG_Widget *  parent,
ServiceCommand command 
AmmoTransferWindow::~AmmoTransferWindow ( )

Definition at line 128 of file ammotransferdialog.cpp.

Member Function Documentation

bool AmmoTransferWindow::eventKeyDown ( const SDL_KeyboardEvent *  key)

Reimplemented from ASC_PG_Dialog.

Definition at line 119 of file ammotransferdialog.cpp.

bool AmmoTransferWindow::somethingToTransfer ( )

Definition at line 117 of file ammotransferdialog.cpp.

References TransferHandler::getTransfers().

Referenced by ammoTransferWindow().

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