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

Public Member Functions

 PolygonEditor (CoordinateList &list, GameMap *map)
- 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

void showFieldMarking (const CoordinateList &coordinateList)
- Protected Member Functions inherited from SelectFromMap
bool ProcessEvent (const SDL_Event *event, bool bModal=false)
virtual bool accept (const MapCoordinate &pos)
virtual bool mark ()
virtual bool markField (const MapCoordinate &pos)
bool eventKeyDown (const SDL_KeyboardEvent *key)
void updateList ()
bool listItemClicked (PG_ListBoxBaseItem *item)
virtual bool isOk ()
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
- Protected Attributes inherited from ASC_PG_Dialog
PG_MessageObject * caller

Detailed Description

Definition at line 786 of file edmisc.cpp.

Constructor & Destructor Documentation

PolygonEditor::PolygonEditor ( CoordinateList list,
GameMap map 

Definition at line 802 of file edmisc.cpp.

Member Function Documentation

void PolygonEditor::showFieldMarking ( const CoordinateList coordinateList)

Reimplemented from SelectFromMap.

Definition at line 788 of file edmisc.cpp.

References displaymessage(), ShowPolygonUsingTemps::paintPolygon(), repaintMap, and Poly_gon::vertex.

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