Advanced Strategic Command
Classes | Functions | Variables
paradialog.cpp File Reference
#include "global.h"
#include <boost/algorithm/string.hpp>
#include <SDL_image.h>
#include <signal.h>
#include <paragui.h>
#include <pgapplication.h>
#include <pgmessagebox.h>
#include <pgdropdown.h>
#include "pgbutton.h"
#include "pglabel.h"
#include "pgwindow.h"
#include "pgscrollbar.h"
#include "pgprogressbar.h"
#include "pgradiobutton.h"
#include "pgthemewidget.h"
#include "pgcheckbutton.h"
#include "pgslider.h"
#include "pglistbox.h"
#include "pgpopupmenu.h"
#include "pgmenubar.h"
#include "pgimage.h"
#include "pgrichedit.h"
#include "pgsdleventsupplier.h"
#include "pgmultilineedit.h"
#include "pgtooltiphelp.h"
#include "pglog.h"
#include "widgets/multilistbox.h"
#include "widgets/textrenderer.h"
#include "widgets/autoprogressbar.h"
#include "dialogs/messagedialog.h"
#include "paradialog.h"
#include "events.h"
#include "gameoptions.h"
#include "spfst.h"
#include "strtmesg.h"
#include "graphics/drawing.h"
#include "util/messaginghub.h"
#include "sdl/graphicsqueue.h"
Include dependency graph for paradialog.cpp:

Go to the source code of this file.

Classes

class  EventSupplier
 
class  ASC_PG_ScreenUpdater
 
class  AntiBulkHandler
 
class  NewStringChooser
 
class  MultiLineEditorDialog
 
class  StringEditor
 

Functions

void signalQuit (int i)
 
ASC_PG_AppgetPGApplication ()
 
pair< int, int > new_chooseString (const ASCString &title, const vector< ASCString > &entries, const vector< ASCString > &buttons, int defaultEntry)
 
bool MultiLineEditor (const ASCString &title, ASCString &textToEdit)
 
ASCString editString2 (const ASCString &title, const ASCString &defaultValue)
 uses the new dialog engine More...
 
int choiceDialog (const ASCString &text, const ASCString &button1, const ASCString &button2, const ASCString &shortLabel)
 

Variables

EventSupplier eventSupplier
 
ASC_PG_ApppgApp = NULL
 
ASC_PG_ScreenUpdater ascScreenUpdater
 
static const int progressHeight = 15
 

Function Documentation

int choiceDialog ( const ASCString text,
const ASCString button1,
const ASCString button2,
const ASCString shortLabel 
)
ASCString editString2 ( const ASCString title,
const ASCString defaultValue 
)

uses the new dialog engine

Definition at line 798 of file paradialog.cpp.

References StringEditor::GetEditedText(), and ASC_PG_Dialog::RunModal().

ASC_PG_App& getPGApplication ( )
bool MultiLineEditor ( const ASCString title,
ASCString textToEdit 
)
pair<int,int> new_chooseString ( const ASCString title,
const vector< ASCString > &  entries,
const vector< ASCString > &  buttons,
int  defaultEntry = -1 
)
Returns
ButtonPressed,SelectedItem

Definition at line 712 of file paradialog.cpp.

References NewStringChooser::getButton(), NewStringChooser::getItem(), and ASC_PG_Dialog::RunModal().

Referenced by chooseString(), and selectString().

void signalQuit ( int  i)

Definition at line 121 of file paradialog.cpp.

References getPGApplication(), and ASC_PG_App::Quit().

Referenced by ASC_PG_App::ASC_PG_App().

Variable Documentation

ASC_PG_ScreenUpdater ascScreenUpdater

Referenced by ASC_PG_App::ASC_PG_App().

EventSupplier eventSupplier

Referenced by ASC_PG_App::ASC_PG_App().

ASC_PG_App* pgApp = NULL

Definition at line 118 of file paradialog.cpp.

Referenced by getPGApplication().

const int progressHeight = 15
static

Definition at line 300 of file paradialog.cpp.