#include "global.h"#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_App & | getPGApplication () |
| 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 | |
| int | choiceDialog (const ASCString &text, const ASCString &button1, const ASCString &button2, const ASCString &shortLabel) |
Variables | |
| EventSupplier | eventSupplier |
| ASC_PG_App * | pgApp = NULL |
| ASC_PG_ScreenUpdater | ascScreenUpdater |
| int choiceDialog | ( | const ASCString & | text, | |
| const ASCString & | button1, | |||
| const ASCString & | button2, | |||
| const ASCString & | shortLabel | |||
| ) |
Definition at line 780 of file paradialog.cpp.
References CGameOptions::dialogAnswers, CGameOptions::Instance(), new_choice_dlg(), and CGameOptions::setChanged().
Referenced by GuiFunctions::EndTurn::execute(), CargoGuiFunctions::MoveUnitIntoInnerContainer::execute(), executeUserAction(), and FileTransfer::send().
uses the new dialog engine
Definition at line 772 of file paradialog.cpp.
References StringEditor::GetEditedText(), and ASC_PG_Dialog::RunModal().
| ASC_PG_App& getPGApplication | ( | ) |
Definition at line 294 of file paradialog.cpp.
References pgApp.
Referenced by Maped_MainScreenWidget::eventKeyDown(), ASC_MainScreenWidget::eventKeyDown(), execaction_pg(), executeUserAction(), gamethread(), GuiDimension::getLeftIndent(), GuiDimension::getLeftOffSet(), GuiDimension::getLineEditWidth(), GuiDimension::getLineOffset(), IngameMessageViewer::Hide(), mapeditorMainThread(), MainScreenWidget::mouseScrollChecker(), trunreplay::run(), signalQuit(), and Weathercast::Weathercast().
Definition at line 710 of file paradialog.cpp.
References MultiLineEditorDialog::GetEditedText(), and ASC_PG_Dialog::RunModal().
Referenced by DisplayImmediateMessage::setup().
| pair<int,int> new_chooseString | ( | const ASCString & | title, | |
| const vector< ASCString > & | entries, | |||
| const vector< ASCString > & | buttons, | |||
| int | defaultEntry | |||
| ) |
Definition at line 686 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 120 of file paradialog.cpp.
References getPGApplication(), and ASC_PG_App::Quit().
Referenced by ASC_PG_App::ASC_PG_App().
Referenced by ASC_PG_App::ASC_PG_App().
Referenced by ASC_PG_App::ASC_PG_App().
| ASC_PG_App* pgApp = NULL |
Definition at line 117 of file paradialog.cpp.
Referenced by ASC_PG_App::ASC_PG_App(), and getPGApplication().
1.5.1