Advanced Strategic Command
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
ASC_PG_App Class Reference

#include <paradialog.h>

Inheritance diagram for ASC_PG_App:
Inheritance graph

Public Member Functions

 ASC_PG_App (const ASCString &themeName)
bool InitScreen (int w, int h, int depth=0, Uint32 flags=SDL_SWSURFACE|SDL_HWPALETTE)
void reloadTheme ()
int Run ()
void Quit ()
bool isFullscreen ()
bool toggleFullscreen ()
void setIcon (const ASCString &filename)
void processEvent ()
bool enableLegacyEventHandling (bool use)
bool queueWidgetForDeletion (PG_Widget *widget)
 ~ASC_PG_App ()
void SetNewScreenSurface (SDL_Surface *surface)

Static Public Attributes

static const int mapDisplayID = 2
static const int mainScreenID = 1

Protected Member Functions

bool eventQuit (int id, PG_MessageObject *widget, unsigned long data)
void eventIdle ()

Detailed Description

Definition at line 70 of file paradialog.h.

Constructor & Destructor Documentation

ASC_PG_App::ASC_PG_App ( const ASCString themeName)
ASC_PG_App::~ASC_PG_App ( )

Definition at line 452 of file paradialog.cpp.

References shutdownASCGraphicSubsystem().

Member Function Documentation

bool ASC_PG_App::enableLegacyEventHandling ( bool  use)

Definition at line 430 of file paradialog.cpp.

References setEventRouting().

Referenced by Run().

void ASC_PG_App::eventIdle ( )

Definition at line 236 of file paradialog.cpp.

References redrawScreen.

bool ASC_PG_App::eventQuit ( int  id,
PG_MessageObject *  widget,
unsigned long  data 

Definition at line 230 of file paradialog.cpp.

bool ASC_PG_App::InitScreen ( int  w,
int  h,
int  depth = 0,
bool ASC_PG_App::isFullscreen ( )

Definition at line 97 of file paradialog.h.

void ASC_PG_App::processEvent ( )

Definition at line 436 of file paradialog.cpp.

Referenced by trunreplay::run().

bool ASC_PG_App::queueWidgetForDeletion ( PG_Widget *  widget)

Definition at line 194 of file paradialog.cpp.

Referenced by IngameMessageViewer::Hide().

void ASC_PG_App::Quit ( )

Definition at line 223 of file paradialog.cpp.

Referenced by execaction_pg(), executeUserAction(), and signalQuit().

void ASC_PG_App::reloadTheme ( )

Definition at line 423 of file paradialog.cpp.

References fatalError().

Referenced by ASC_PG_App(), and executeUserAction().

int ASC_PG_App::Run ( )

Definition at line 444 of file paradialog.cpp.

References enableLegacyEventHandling().

Referenced by gamethread(), and mapeditorMainThread().

void ASC_PG_App::setIcon ( const ASCString filename)

Definition at line 211 of file paradialog.cpp.

References tnstream::reading, and SDL_RWFromStream().

Referenced by main().

void ASC_PG_App::SetNewScreenSurface ( SDL_Surface *  surface)

Definition at line 252 of file paradialog.cpp.

Referenced by toggleFullscreen().

bool ASC_PG_App::toggleFullscreen ( )

Member Data Documentation

const int ASC_PG_App::mainScreenID = 1
const int ASC_PG_App::mapDisplayID = 2

Definition at line 87 of file paradialog.h.

Referenced by MainScreenWidget::setup(), and Weathercast::Weathercast().

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