Advanced Strategic Command
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
VehicleProduction_SelectionWindow Class Reference

#include <vehicleproductionselection.h>

Inheritance diagram for VehicleProduction_SelectionWindow:
Inheritance graph

Public Member Functions

 VehicleProduction_SelectionWindow (PG_Widget *parent, const PG_Rect &r, ContainerBase *plant, const ConstructUnitCommand::Producables &produceableUnits, bool internally)
void updateProducables ()
bool addProductionLine ()
bool removeProductionLine ()
bool fillWithAmmo ()
bool fillWithResources ()
const VehicleTypegetVehicletype ()
- 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 ()

Public Attributes

sigc::signal< void > reloadProducebles

Protected Member Functions

void vtMarked (const VehicleType *vt)
void vtSelected (const VehicleType *vt, bool mouse)
bool produce ()
bool closeWindow ()
bool quitSignalled ()
void reLoadAndUpdate ()
bool eventKeyDown (const SDL_KeyboardEvent *key)
- Protected Member Functions inherited from ASC_PG_Dialog
bool quitModalLoopW (PG_Button *button, int value)
bool quitModalLoop (int value)

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 Attributes inherited from ASC_PG_Dialog
PG_MessageObject * caller

Detailed Description

Definition at line 73 of file vehicleproductionselection.h.

Constructor & Destructor Documentation

VehicleProduction_SelectionWindow::VehicleProduction_SelectionWindow ( PG_Widget *  parent,
const PG_Rect &  r,
ContainerBase plant,
const ConstructUnitCommand::Producables produceableUnits,
bool  internally 

Member Function Documentation

bool VehicleProduction_SelectionWindow::addProductionLine ( )
bool VehicleProduction_SelectionWindow::closeWindow ( )

Reimplemented from ASC_PG_Dialog.

Definition at line 166 of file vehicleproductionselection.cpp.

References ASC_PG_Dialog::closeWindow().

Referenced by eventKeyDown().

bool VehicleProduction_SelectionWindow::eventKeyDown ( const SDL_KeyboardEvent *  key)

Reimplemented from ASC_PG_Dialog.

Definition at line 187 of file vehicleproductionselection.cpp.

References addProductionLine(), closeWindow(), and removeProductionLine().

bool VehicleProduction_SelectionWindow::fillWithAmmo ( )
bool VehicleProduction_SelectionWindow::fillWithResources ( )
const VehicleType* VehicleProduction_SelectionWindow::getVehicletype ( )
bool VehicleProduction_SelectionWindow::produce ( )
bool VehicleProduction_SelectionWindow::quitSignalled ( )

Definition at line 172 of file vehicleproductionselection.cpp.

Referenced by VehicleProduction_SelectionWindow().

void VehicleProduction_SelectionWindow::reLoadAndUpdate ( )
bool VehicleProduction_SelectionWindow::removeProductionLine ( )
void VehicleProduction_SelectionWindow::updateProducables ( )
void VehicleProduction_SelectionWindow::vtMarked ( const VehicleType vt)

Definition at line 142 of file vehicleproductionselection.cpp.

References vtSelected().

Referenced by VehicleProduction_SelectionWindow().

void VehicleProduction_SelectionWindow::vtSelected ( const VehicleType vt,
bool  mouse 

Definition at line 147 of file vehicleproductionselection.cpp.

References produce().

Referenced by VehicleProduction_SelectionWindow(), and vtMarked().

Member Data Documentation

sigc::signal<void> VehicleProduction_SelectionWindow::reloadProducebles

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