Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

CopyMap Class Reference

Inheritance diagram for CopyMap:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 CopyMap ()
 ~CopyMap ()
bool paste ()
void copy ()
void selectArea ()

Protected Member Functions

virtual void fieldOperator (const MapCoordinate &point)

Constructor & Destructor Documentation

CopyMap::CopyMap  ) 
 

Definition at line 4253 of file edmisc.cpp.

References FieldAddressing::addressingMode, PG_Label::LEFT, paste(), PG_Rect::PG_Rect(), FieldAddressing::poly, PG_Label::SetAlignment(), PG_RadioButton::SetPressed(), PG_LineEdit::SetText(), PG_Widget::SetText(), and PG_Button::sigClick.

CopyMap::~CopyMap  ) 
 

Definition at line 4418 of file edmisc.cpp.


Member Function Documentation

void CopyMap::copy  ) 
 

Definition at line 4438 of file edmisc.cpp.

References FieldAddressing::operate(), and terrainTypeRepository.

void CopyMap::fieldOperator const MapCoordinate point  )  [protected, virtual]
 

Implements FieldAddressing.

Definition at line 4640 of file edmisc.cpp.

References actmap, copyFieldStep1(), copyFieldStep2(), GameMap::getField(), MapCoordinate::x, and MapCoordinate::y.

bool CopyMap::paste  ) 
 

Definition at line 4482 of file edmisc.cpp.

References actmap, atoi(), copyFieldStep1(), copyFieldStep2(), getactfield(), GameMap::getField(), PG_RadioButton::GetPressed(), PG_Widget::GetText(), tfield::getx(), tfield::gety(), PG_Widget::Hide(), PG_Widget::QuitModal(), GameMap::resize(), GameMap::xsize, and GameMap::ysize.

Referenced by CopyMap().

void CopyMap::selectArea  ) 
 

Definition at line 4429 of file edmisc.cpp.

References editpolygon(), FieldAddressing::polygons, and FieldAddressing::setPolygon().


The documentation for this class was generated from the following file:
Generated on Tue Jun 24 02:17:00 2008 for Advanced Strategic Command by  doxygen 1.4.2