#include "newfont.h"
#include "events.h"
#include "basegfx.h"
Include dependency graph for dlg_box.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines | |
| #define | dlg_wintitle 1 |
| #define | dlg_in3d 2 |
| #define | dlg_notitle 4 |
| #define | dlg_3dtitle 8 |
| #define | linesshown 13 |
Typedefs | |
| typedef tdialogbox * | pdialogbox |
Functions | |
| void | displaymessage (const char *formatstring, int num,...) |
| displays a dialog box with a message | |
| void | displaymessage (const ASCString &text, int num) |
| displays a dialog box with a message | |
| void | removemessage (void) |
| closes a message dialog box that has been opened by displaymessage() | |
| void | help (int id) |
| displays a dialogbog with the given help topic | |
| void | viewtext2 (int id) |
| displays a dialogbog with the given message | |
| int | viewtextquery (int id, const char *title, const char *s1, const char *s2) |
| int | getplayercolor (int i) |
| void | strrd8u (int l, char *s) |
| void | strrd8d (int l, char *s) |
| void | strrd8n (int l, char *s) |
| char * | strrrd8u (int l) |
| char * | strrrd8d (int l) |
| char * | strrrd8n (int l) |
| ASCString | readtextmessage (int id) |
| returns the message with the given ID from the message system. | |
| int | getid (const char *title, int lval, int min, int max) |
| ASCString | editString (const ASCString &title, const ASCString &defaultValue="") |
| int | chooseString (const ASCString &title, const vector< ASCString > &entries, int defaultEntry=-1) |
| displays a dialogbox which lets you chose one of a number of strings. | |
| pair< int, int > | chooseString (const ASCString &title, const vector< ASCString > &entries, const vector< ASCString > &buttons, int defaultEntry=-1) |
| displays a dialogbox which lets you chose one of a number of strings. | |
Variables | |
| int | actdisplayedmessage |
| long | lastdisplayedmessageticker |
| tvirtualscreenbuf | virtualscreenbuf |
Definition in file dlg_box.h.
|
|
Definition at line 35 of file dlg_box.h. Referenced by tdialogbox::init(), and tdialogbox::redraw(). |
|
|
|
Definition at line 34 of file dlg_box.h. Referenced by tdialogbox::buildgraphics(), tdisplaymessage::init(), tchoice_dlg::init(), and tdialogbox::redraw(). |
|
|
Definition at line 32 of file dlg_box.h. Referenced by tdialogbox::buildgraphics(), and tdialogbox::redraw(). |
|
|
Definition at line 386 of file dlg_box.h. Referenced by thelpsystem::buildgraphics(), and tviewanytext::redraw(). |
|
|
|
|
||||||||||||||||||||
|
displays a dialogbox which lets you chose one of a number of strings.
Definition at line 3803 of file dlg_box.cpp. References tstringselect::action, tstringselect::done(), tstringselect::init(), legacyEventSystemActive(), new_chooseString(), tstringselect::redline, and ChooseString::run(). |
|
||||||||||||||||
|
displays a dialogbox which lets you chose one of a number of strings.
Definition at line 3793 of file dlg_box.cpp. References chooseString(). |
|
||||||||||||
|
displays a dialog box with a message
Definition at line 1864 of file dlg_box.cpp. References displayLogMessage(), and legacyEventSystemActive(). |
|
||||||||||||||||
|
displays a dialog box with a message
Definition at line 1847 of file dlg_box.cpp. References displaymessage(). |
|
||||||||||||
|
Definition at line 3899 of file dlg_box.cpp. References tdialogbox::done(), StringEdit::init(), StringEdit::nt, StringEdit::onCancel, StringEdit::org, StringEdit::ReturnOriginal, StringEdit::run(), and StringEdit::text. Referenced by editTechAdapter(), FileTransfer::enterfilename(), and getbipath(). |
|
||||||||||||||||||||
|
Definition at line 3706 of file dlg_box.cpp. References tdialogbox::done(), tgetid::init(), tgetid::max, tgetid::mid, tgetid::min, tgetid::nt, tgetid::onCancel, tgetid::ReturnOriginal, and tgetid::run(). Referenced by UnitPropertyEditor::buttonpressed(), editInt(), execaction(), ChangeGameParameter::setup(), DisplayEllipse::setup(), and ChangeBuildingOwner::setup(). |
|
|
Definition at line 301 of file dlg_box.cpp. References actmap. Referenced by tdialogbox::init(). |
|
|
displays a dialogbog with the given help topic
Definition at line 3290 of file dlg_box.cpp. References readtextmessage(), ASC_PG_Dialog::RunModal(), and PG_Widget::Show(). Referenced by execaction_pg(), execuseraction(), MailOptionsDialog::MailOptionsDialog(), tmapgenerator::run(), and tplayerchange::run(). |
|
|
returns the message with the given ID from the message system. This system spans the helpfiles and the message files associated with the maps Definition at line 3052 of file dlg_box.cpp. References actmap, displayLogMessage(), tfindfile::getnextname(), GameMap::PreferredFilenames::mapname, GameMap::preferredFileNames, tnstream::reading, tnstream::readTextString(), s1, and strrr(). Referenced by execaction(), help(), helpAbout(), thelpsystem::init(), MailOptionsDialog::MailOptionsDialog(), viewtext2(), viewtextmessage(), and ViewTextQuery::ViewTextQuery(). |
|
|
closes a message dialog box that has been opened by displaymessage()
Definition at line 1974 of file dlg_box.cpp. References tdialogbox::boxstatus, and tdialogbox::done(). Referenced by k_loadmap(). |
|
||||||||||||
|
Definition at line 55 of file dlg_box.cpp. |
|
||||||||||||
|
Definition at line 65 of file dlg_box.cpp. |
|
||||||||||||
|
Definition at line 60 of file dlg_box.cpp. |
|
|
Definition at line 71 of file dlg_box.cpp. References itoa(), minmalq, and strrstring. Referenced by displaywindspeed(). |
|
|
Definition at line 85 of file dlg_box.cpp. References itoa(), minmalq, and strrstring. |
|
|
Definition at line 78 of file dlg_box.cpp. References itoa(), minmalq, and strrstring. |
|
|
displays a dialogbog with the given message
Definition at line 3300 of file dlg_box.cpp. References readtextmessage(), ASC_PG_Dialog::RunModal(), and PG_Widget::Show(). Referenced by gamethread(), and next_turn(). |
|
||||||||||||||||||||
|
Definition at line 3398 of file dlg_box.cpp. References legacy_viewtextquery(), legacyEventSystemActive(), ASC_PG_Dialog::RunModal(), and PG_Widget::Show(). Referenced by authenticateUser(), and changePassword(). |
|
|
Definition at line 95 of file dlg_box.cpp. Referenced by infomessage(). |
|
|
Definition at line 96 of file dlg_box.cpp. Referenced by infomessage(). |
|
|
Definition at line 99 of file dlg_box.cpp. Referenced by gamethread(), and main(). |
1.4.2