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

#include <gameevent_dialogs.h>

Inheritance diagram for ReinforcementSelector:
Inheritance graph
[legend]

Public Member Functions

 ReinforcementSelector (CoordinateList &list, GameMap *map, MemoryStreamStorage &buffer, int &objNum)
 
- Public Member Functions inherited from SelectFromMap
 SelectFromMap (CoordinateList &list, GameMap *map, bool justOne=false, bool readOnly=false)
 
void Show (bool fade=false)
 
 ~SelectFromMap ()
 
- 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 ()
 

Protected Member Functions

bool mark ()
 
virtual bool isOk ()
 
- Protected Member Functions inherited from SelectFromMap
bool ProcessEvent (const SDL_Event *event, bool bModal=false)
 
virtual bool accept (const MapCoordinate &pos)
 
virtual void showFieldMarking (const CoordinateList &coordinateList)
 
virtual bool markField (const MapCoordinate &pos)
 
bool eventKeyDown (const SDL_KeyboardEvent *key)
 
void updateList ()
 
bool listItemClicked (PG_ListBoxBaseItem *item)
 
bool closeDialog ()
 
- Protected Member Functions inherited from ASC_PG_Dialog
virtual bool closeWindow ()
 
bool quitModalLoopW (PG_Button *button, int value)
 
bool quitModalLoop (int value)
 

Additional Inherited Members

- Public Types inherited from SelectFromMap
typedef vector< MapCoordinateCoordinateList
 
- 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 SelectFromMap
GameMapactmap
 
CoordinateListcoordinateList
 
- Protected Attributes inherited from ASC_PG_Dialog
PG_MessageObject * caller
 

Detailed Description

Definition at line 57 of file gameevent_dialogs.h.

Constructor & Destructor Documentation

ReinforcementSelector::ReinforcementSelector ( CoordinateList list,
GameMap map,
MemoryStreamStorage buffer,
int &  objNum 
)
inline

Definition at line 68 of file gameevent_dialogs.h.

Member Function Documentation

bool ReinforcementSelector::isOk ( )
protectedvirtual

Reimplemented from SelectFromMap.

Definition at line 610 of file gameevent_dialogs.cpp.

References SelectFromMap::coordinateList.

bool ReinforcementSelector::mark ( )
protectedvirtual

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