maped-mainscreen.cpp File Reference

#include "global.h"
#include <stdio.h>
#include <cstring>
#include <stdlib.h>
#include <new>
#include <cstdlib>
#include <ctype.h>
#include <algorithm>
#include <memory>
#include <SDL_mixer.h>
#include <iostream>
#include <set>
#include "paradialog.h"
#include "pgtooltiphelp.h"
#include "pgpopupmenu.h"
#include "pgmenubar.h"
#include "basegfx.h"
#include "misc.h"
#include "iconrepository.h"
#include "maped-mainscreen.h"
#include "graphics/blitter.h"
#include "graphics/drawing.h"
#include "edglobal.h"
#include "mapdisplay.h"
#include "spfst.h"
#include "spfst-legacy.h"
#include "overviewmappanel.h"
#include "edselfnt.h"
#include "edmisc.h"
#include "gameoptions.h"
#include "widgets/dropdownselector.h"
#include "dialogs/fileselector.h"
#include "weaponrangelayer.h"

Include dependency graph for maped-mainscreen.cpp:

Go to the source code of this file.

Namespaces

namespace  ContextMenu

Classes

class  Menu
class  ContextMenu::AutoTextContextAction
class  ContextMenu::ContainerProperties
class  ContextMenu::ContainerCargo
class  ContextMenu::DeleteVehicle
class  ContextMenu::DeleteBuilding
class  ContextMenu::ContainerProduction
class  ContextMenu::DeleteMine
class  ContextMenu::ChangeMineStrength
class  ContextMenu::FieldResources
class  ContextMenu::DeleteTopObject
class  ContextMenu::DeleteAllObjects
class  MapItemSelectionWindow

Typedefs

typedef PG_Window * PG_WindowPointer

Functions

MainScreenWidgetgetMainScreenWidget ()
void helperFunction ()
template<class ItemType>
void showSelectionWindow (PG_Widget *parent, PG_WindowPointer &selectionWindow, const ItemRepository< ItemType > &itemRepository)
void displaymessage2 (const char *formatstring,...)
 displays a message in the status line of ASC

Variables

Maped_MainScreenWidgetmainScreenWidget = NULL


Typedef Documentation

typedef PG_Window* PG_WindowPointer

Definition at line 942 of file maped-mainscreen.cpp.


Function Documentation

void displaymessage2 ( const char *  formatstring,
  ... 
)

displays a message in the status line of ASC

Definition at line 1031 of file maped-mainscreen.cpp.

References MainScreenWidget::displayMessage(), mainScreenWidget, and ASCString::vaformat().

MainScreenWidget* getMainScreenWidget (  ) 

Definition at line 52 of file maped-mainscreen.cpp.

References mainScreenWidget.

void helperFunction (  ) 

Definition at line 660 of file maped-mainscreen.cpp.

Referenced by Maped_MainScreenWidget::eventKeyDown().

template<class ItemType>
void showSelectionWindow ( PG_Widget *  parent,
PG_WindowPointer selectionWindow,
const ItemRepository< ItemType > &  itemRepository 
)

Definition at line 945 of file maped-mainscreen.cpp.

References filtersChangedSignal, CGameOptions::Instance(), and ItemSelectorWindow::reLoad().

Referenced by Maped_MainScreenWidget::selectBuilding(), Maped_MainScreenWidget::selectMine(), Maped_MainScreenWidget::selectObjectList(), Maped_MainScreenWidget::selectTerrainList(), and Maped_MainScreenWidget::selectVehicle().


Variable Documentation

Maped_MainScreenWidget* mainScreenWidget = NULL

Definition at line 50 of file maped-mainscreen.cpp.


Generated on Mon May 21 01:38:02 2012 for Advanced Strategic Command by  doxygen 1.5.1