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

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 "overviewmappanel.h"
#include "edselfnt.h"
#include "edmisc.h"
#include "gameoptions.h"
#include "widgets/dropdownselector.h"

Include dependency graph for maped-mainscreen.cpp:

Go to the source code of this file.

Namespaces

namespace  ContextMenu

Classes

class  Menu

Typedefs

typedef PG_WindowPG_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 891 of file maped-mainscreen.cpp.


Function Documentation

void displaymessage2 const char *  formatstring,
  ...
 

displays a message in the status line of ASC

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

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

MainScreenWidget* getMainScreenWidget  ) 
 

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

void helperFunction  ) 
 

Definition at line 629 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 894 of file maped-mainscreen.cpp.

References filtersChangedSignal, PG_Widget::Hide(), CGameOptions::Instance(), ItemSelectorWindow::reLoad(), PG_Widget::RunModal(), and PG_Widget::Show().

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 45 of file maped-mainscreen.cpp.


Generated on Tue Jun 24 01:50:41 2008 for Advanced Strategic Command by  doxygen 1.4.2