#include <paradialog.h>
Inheritance diagram for ASC_PG_Dialog:

Public Types | |
| enum | StandardButtonDirectonType { Vertical, Horizontal } |
Public Member Functions | |
| ASC_PG_Dialog (PG_Widget *parent, const PG_Rect &r, const ASCString &windowtext, WindowFlags flags=DEFAULT, const ASCString &style="Window", int heightTitlebar=25) | |
| PG_Button * | AddStandardButton (const ASCString &name) |
| void | StandardButtonDirection (StandardButtonDirectonType dir) |
| int | RunModal () |
| Enter modal mode. | |
Static Public Member Functions | |
| static PG_Rect | centerRectangle (const PG_Rect &rect) |
Protected Member Functions | |
| virtual bool | closeWindow () |
| bool | quitModalLoop (int value) |
| virtual bool | eventKeyDown (const SDL_KeyboardEvent *key) |
| Overridable Eventhandler for a SDL_KeyboardEvent message. | |
Protected Attributes | |
| PG_MessageObject * | caller |
Definition at line 125 of file paradialog.h.
|
|
Definition at line 136 of file paradialog.h. |
|
||||||||||||||||||||||||||||
|
Definition at line 412 of file paradialog.cpp. References PG_Widget::GetTransparency(), WindowCounter::num(), and PG_ThemeWidget::SetTransparency(). |
|
|
|
Definition at line 434 of file paradialog.cpp. References PG_Application::GetScreenHeight(), and PG_Application::GetScreenWidth(). |
|
|
Reimplemented in VehicleProduction_SelectionWindow, ResourcePlacementDialog, ChanceSettingsDialog, EventAreasDialog, and EventWindChangesDialog. Definition at line 525 of file paradialog.cpp. References caller, PG_Widget::QuitModal(), and PG_MessageObject::SetInputFocus(). Referenced by ChangePasswordDialog::ChangePasswordDialog(), VehicleProduction_SelectionWindow::closeWindow(), eventKeyDown(), and SoundSettings::SoundSettings(). |
|
|
Overridable Eventhandler for a SDL_KeyboardEvent message. This handler is called when a key changed it's state from unpressed to pressed. The default implementation returns 'false' which indicates that this message is not processed by this object.
Reimplemented from PG_MessageObject. Reimplemented in AmmoTransferWindow, VehicleProduction_SelectionWindow, SelectFromMap, InternalAmmoTransferWindow, MessageDialog, ItemSelectorWindow, IngameMessageViewer, and ViewFormattedText. Definition at line 481 of file paradialog.cpp. References closeWindow(). Referenced by IngameMessageViewer::eventKeyDown(), and SelectFromMap::eventKeyDown(). |
|
|
|
|
Definition at line 461 of file paradialog.cpp. Referenced by EditPlayerData::EditPlayerData(), MailOptionsDialog::MailOptionsDialog(), and NewMap::NewMap(). |
|
|
Definition at line 129 of file paradialog.h. Referenced by ChangePasswordDialog::ChangePasswordDialog(), and closeWindow(). |
1.4.2