#include <sigc++/sigc++.h>
#include "ascstring.h"
#include "dlg_box.h"
#include "password.h"
#include "typen.h"
Include dependency graph for dialog.h:

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

Go to the source code of this file.
Typedefs | |
| typedef tparagraph * | pparagraph |
Functions | |
| void | displaymessage2 (const char *formatstring,...) |
| displays a message in the status line of ASC | |
| void | dispmessage2 (int id, const char *st=NULL) |
| displays a message in the message line | |
| char | mix3colors (int p1, int p2, int p3) |
| char | mix2colors (int a, int b) |
| char | mix4colors (int a, int b, int c, int d) |
| void | bi3preferences (void) |
| the dialog box for setting up how to load bi3 graphics and maps. Since ASC now uses its own graphics, this dialog is not used any more. | |
| void | resizemap (void) |
| a dialog box that lets a user resize the active map. Should only be used in the mapeditor | |
| void | choosezoomlevel (void) |
| void | viewUnitSetinfo (void) |
| int | choice_dlg (const ASCString &title, const ASCString &leftButton, const ASCString &rightButton) |
| void | selectgraphicset (void) |
| int | editInt (const ASCString &title, int defaultValue, int minValue=0, int maxValue=maxint) |
Variables | |
| const int | dbluedark = 248 |
Definition in file dialog.h.
|
|
|
|
|
the dialog box for setting up how to load bi3 graphics and maps. Since ASC now uses its own graphics, this dialog is not used any more.
Definition at line 1938 of file dialog.cpp. References tdialogbox::done(), tbi3preferences::init(), and tbi3preferences::run(). Referenced by execuseraction(). |
|
||||||||||||||||
|
displays a dialog with two buttons, to select one of them
Definition at line 610 of file dialog.cpp. References legacy_choice_dlg(), legacyEventSystemActive(), and new_choice_dlg(). Referenced by checkforreplay(), checkforvictory(), execaction_pg(), execuseraction(), execuseraction2(), CargoGuiFunctions::RecycleUnit::execute(), GuiFunctions::EndTurn::execute(), GuiFunctions::SelfDestructIcon::execute(), FileSelectionWindow::fileNameSelected(), gamethread(), generateTechTree(), mapeditorMainThread(), next_turn(), BuildingItem::place(), ObjectItem::place(), VehicleProduction_SelectionWindow::removeProductionLine(), FileTransfer::send(), tmapgenerator::setmap(), DisplayEllipse::setup(), and viewOwnReplay(). |
|
|
Definition at line 2138 of file dialog.cpp. References displaymap(), tdialogbox::done(), tchoosezoomlevel::init(), and tchoosezoomlevel::run(). |
|
||||||||||||
|
displays a message in the status line of ASC
Definition at line 616 of file asc-mainscreen.cpp. |
|
||||||||||||
|
displays a message in the message line
Definition at line 466 of file dialog.cpp. References displaymessage2(), getmessage(), s1, and s2. Referenced by GuiFunctions::AttackGui::execute(), GuiFunctions::Movement::execute(), GuiFunctions::Ascend::execute(), GuiFunctions::Descend::execute(), GuiFunctions::Attack::execute(), GuiFunctions::EnableReactionfire::execute(), GuiFunctions::RepairUnit::execute(), GuiFunctions::RefuelUnit::execute(), GuiFunctions::ConstructBuilding::execute(), giveunitaway(), tsearchdestructbuildingfields::initdestructbuilding(), putMine(), and GuiFunctions::BuildingConstruction::setBuilding(). |
|
||||||||||||||||||||
|
Definition at line 2979 of file dialog.cpp. References getid(). Referenced by editResearchPoints(), TurnPassed::setup(), ResourceTribute::setup(), WindChange::setup(), DisplayMessage::setup(), ChangeBuildingDamage::setup(), NextMap::setup(), ChangeDiplomaticStatus::setup(), ChangePlayerState::setup(), SetViewSharing::setup(), and AddResources::setup(). |
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
|
a dialog box that lets a user resize the active map. Should only be used in the mapeditor
Definition at line 2070 of file dialog.cpp. References displaymap(), tdialogbox::done(), ResizeMap::init(), and ResizeMap::run(). Referenced by execaction(). |
|
|
Definition at line 2967 of file dialog.cpp. References actmap, displaymap(), getGraphicSetIdFromFilename(), GameMap::graphicset, and selectFile(). Referenced by execaction_pg(), and execuseraction2(). |
|
|
Definition at line 2183 of file dialog.cpp. References actmap, Vehicletype::description, fieldvisiblenow(), GameMap::getCursor(), GameMap::getField(), GameMap::getPlayer(), ContainerBaseType::id, LoadableItemType::location, ContainerBaseType::name, ASC_PG_Dialog::RunModal(), PG_Widget::Show(), ASCString::toString(), SingleUnitSet::unit, and unitSets. Referenced by execaction(), and execuseraction(). |
|
|
|
1.4.2