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

MapSwitcher Class Reference

The class that manages the switching between the primary map (for editing) and the secondary map (for selecting objects and terrain). More...

#include <edmisc.h>

List of all members.

Public Types

enum  Action { select, set }

Public Member Functions

Action getDefaultAction ()
void toggle ()
string getName ()
void deleteMaps ()
 MapSwitcher ()

Classes

class  Mappntr


Detailed Description

The class that manages the switching between the primary map (for editing) and the secondary map (for selecting objects and terrain).

Definition at line 105 of file edmisc.h.


Member Enumeration Documentation

enum MapSwitcher::Action
 

Enumeration values:
select 
set 

Definition at line 116 of file edmisc.h.


Constructor & Destructor Documentation

MapSwitcher::MapSwitcher  )  [inline]
 

Definition at line 122 of file edmisc.h.


Member Function Documentation

void MapSwitcher::deleteMaps  ) 
 

Definition at line 2957 of file edmisc.cpp.

References actmap, and toggle().

Referenced by main().

MapSwitcher::Action MapSwitcher::getDefaultAction  ) 
 

Definition at line 3016 of file edmisc.cpp.

References select, and set.

Referenced by execaction(), and execaction_pg().

string MapSwitcher::getName  ) 
 

Definition at line 3000 of file edmisc.cpp.

References actmap, GameMap::PreferredFilenames::mapname, and GameMap::preferredFileNames.

void MapSwitcher::toggle  ) 
 

Definition at line 2966 of file edmisc.cpp.

References actmap, MapDisplayPG::cursor, displaymap(), GameMap::getCursor(), PG_Application::GetEventSupplier(), getMainScreenWidget(), MapDisplayPG::Cursor::goTo(), mapsaved, MapDisplayPG::upperLeftCorner(), and viewChanged.

Referenced by deleteMaps(), execaction(), and mapeditorMainThread().


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