#include <SettingsSelectDialog.h>

Public Member Functions | |
| OptionsGame & | getOptions () |
| virtual void | buttonDown (unsigned int id) |
| virtual void | display () |
Static Public Member Functions | |
| static SettingsSelectDialog * | instance () |
Protected Attributes | |
| std::list < GLWOptionEntry > | controls_ |
| OptionsGame | options_ |
| unsigned int | cancelId_ |
| unsigned int | okId_ |
| unsigned int | advancedId_ |
Static Protected Attributes | |
| static SettingsSelectDialog * | instance_ = 0 |
Private Member Functions | |
| SettingsSelectDialog () | |
| virtual | ~SettingsSelectDialog () |
Definition at line 29 of file SettingsSelectDialog.h.
| SettingsSelectDialog::SettingsSelectDialog | ( | ) | [private] |
Definition at line 41 of file SettingsSelectDialog.cpp.
References GLWPanel::addWidget(), advancedId_, GLWPanel::AlignRight, GLWButton::ButtonFlagCancel, GLWButton::ButtonFlagCenterX, GLWButton::ButtonFlagOk, cancelId_, controls_, GLWOptionEntry::createEntry(), GLWidget::getId(), OptionsGame::getModEntry(), OptionsGame::getNoMaxPlayersEntry(), OptionsGame::getTeamsEntry(), OptionsGame::getTurnTypeEntry(), GLWPanel::GLWPanel(), LANG_RESOURCE, GLWPanel::layout(), GLWPanel::LayoutGrid, GLWPanel::LayoutHorizontal, GLWPanel::LayoutVerticle, okId_, options_, GLWPanel::setGridWidth(), GLWPanel::setLayout(), GLWPanel::SpaceAll, GLWPanel::SpaceBottom, GLWPanel::SpaceLeft, and GLWPanel::SpaceRight.
| SettingsSelectDialog::~SettingsSelectDialog | ( | ) | [private, virtual] |
Definition at line 87 of file SettingsSelectDialog.cpp.
| SettingsSelectDialog * SettingsSelectDialog::instance | ( | ) | [static] |
Definition at line 32 of file SettingsSelectDialog.cpp.
References instance_.
Referenced by SettingsSubSelectDialog::buttonDown(), ModSelectDialog::buttonDown(), SettingsSubSelectDialog::display(), SettingsSubSelectDialog::displayLand(), StartDialog::mouseDown(), SettingsSubSelectDialog::SettingsSubSelectDialog(), and ClientWindowSetup::setupStartWindows().
| OptionsGame& SettingsSelectDialog::getOptions | ( | ) | [inline] |
Definition at line 36 of file SettingsSelectDialog.h.
References options_.
Referenced by SettingsSubSelectDialog::buttonDown(), SettingsSubSelectDialog::display(), SettingsSubSelectDialog::displayLand(), and SettingsSubSelectDialog::SettingsSubSelectDialog().
| void SettingsSelectDialog::buttonDown | ( | unsigned int | id | ) | [virtual] |
Implements GLWButtonI.
Definition at line 111 of file SettingsSelectDialog.cpp.
References advancedId_, cancelId_, controls_, GLWidget::getId(), OptionsGame::getNoMaxPlayers(), OptionsGame::getNoMinPlayersEntry(), S3D::getSettingsFile(), GLWWindowManager::hideWindow(), GLWidget::id_, ClientParams::instance(), SettingsSubSelectDialog::instance(), GLWWindowManager::instance(), okId_, options_, ClientParams::reset(), ClientParams::setStartCustom(), OptionEntryInt::setValue(), GLWWindowManager::showWindow(), ClientMain::startClient(), GLWOptionEntry::updateEntries(), and OptionsGame::writeOptionsToFile().
| void SettingsSelectDialog::display | ( | ) | [virtual] |
Reimplemented from GLWPanel.
Definition at line 91 of file SettingsSelectDialog.cpp.
References controls_, S3D::fileExists(), S3D::formatStringBuffer(), S3D::getSettingsFile(), MsgBoxDialog::instance(), LANG_RESOURCE, Logger::log(), options_, OptionsGame::readOptionsFromFile(), MsgBoxDialog::show(), and GLWOptionEntry::updateControls().
SettingsSelectDialog * SettingsSelectDialog::instance_ = 0 [static, protected] |
std::list<GLWOptionEntry> SettingsSelectDialog::controls_ [protected] |
Definition at line 47 of file SettingsSelectDialog.h.
Referenced by buttonDown(), display(), and SettingsSelectDialog().
OptionsGame SettingsSelectDialog::options_ [protected] |
Definition at line 48 of file SettingsSelectDialog.h.
Referenced by buttonDown(), display(), getOptions(), and SettingsSelectDialog().
unsigned int SettingsSelectDialog::cancelId_ [protected] |
Definition at line 49 of file SettingsSelectDialog.h.
Referenced by buttonDown(), and SettingsSelectDialog().
unsigned int SettingsSelectDialog::okId_ [protected] |
Definition at line 49 of file SettingsSelectDialog.h.
Referenced by buttonDown(), and SettingsSelectDialog().
unsigned int SettingsSelectDialog::advancedId_ [protected] |
Definition at line 49 of file SettingsSelectDialog.h.
Referenced by buttonDown(), and SettingsSelectDialog().
1.5.3