Advanced Strategic Command
Functions
messagedialog.cpp File Reference
#include <pgrichedit.h>
#include <pgcheckbutton.h>
#include "../global.h"
#include "../widgets/textrenderer.h"
#include "messagedialog.h"
Include dependency graph for messagedialog.cpp:

Go to the source code of this file.

Functions

PG_Rect calcMessageBoxSize (const ASCString &message)
 
void errorMessageDialog (const ASCString &message)
 
void warningMessageDialog (const ASCString &message)
 
void infoMessageDialog (const ASCString &message)
 
int new_choice_dlg (const ASCString &title, const ASCString &leftButton, const ASCString &rightButton)
 
int new_choice_dlg (const ASCString &title, const ASCString &shortTitle, const ASCString &leftButton, const ASCString &rightButton, bool &saveResult)
 

Function Documentation

PG_Rect calcMessageBoxSize ( const ASCString message)
void errorMessageDialog ( const ASCString message)

Definition at line 202 of file messagedialog.cpp.

References calcMessageBoxSize(), and ASC_PG_Dialog::RunModal().

void infoMessageDialog ( const ASCString message)

Definition at line 218 of file messagedialog.cpp.

References calcMessageBoxSize(), and ASC_PG_Dialog::RunModal().

int new_choice_dlg ( const ASCString title,
const ASCString leftButton,
const ASCString rightButton 
)
int new_choice_dlg ( const ASCString title,
const ASCString shortTitle,
const ASCString leftButton,
const ASCString rightButton,
bool &  saveResult 
)
void warningMessageDialog ( const ASCString message)

Definition at line 210 of file messagedialog.cpp.

References calcMessageBoxSize(), and ASC_PG_Dialog::RunModal().