#include <ModSelectDialog.h>

Public Member Functions | |
| virtual void | display () |
| virtual void | buttonDown (unsigned int id) |
| virtual void | selected (unsigned int id, int position) |
| virtual void | chosen (unsigned int id, int position) |
Static Public Member Functions | |
| static ModSelectDialog * | instance () |
Protected Attributes | |
| unsigned int | okId_ |
| unsigned int | cancelId_ |
| GLWIconList * | iconList_ |
Static Protected Attributes | |
| static ModSelectDialog * | instance_ = 0 |
Private Member Functions | |
| ModSelectDialog () | |
| virtual | ~ModSelectDialog () |
Definition at line 49 of file ModSelectDialog.h.
| ModSelectDialog::ModSelectDialog | ( | ) | [private] |
Definition at line 80 of file ModSelectDialog.cpp.
References GLWPanel::addWidget(), GLWButton::ButtonFlagCancel, GLWButton::ButtonFlagCenterX, GLWButton::ButtonFlagOk, cancelId_, GLWidget::getId(), iconList_, LANG_RESOURCE, okId_, and GLWIconList::setHandler().
| ModSelectDialog::~ModSelectDialog | ( | ) | [private, virtual] |
Definition at line 94 of file ModSelectDialog.cpp.
| ModSelectDialog * ModSelectDialog::instance | ( | ) | [static] |
Definition at line 71 of file ModSelectDialog.cpp.
References instance_.
Referenced by ModSubSelectDialog::buttonDown(), StartDialog::mouseDown(), and ClientWindowSetup::setupStartWindows().
| void ModSelectDialog::display | ( | ) | [virtual] |
Reimplemented from GLWPanel.
Definition at line 99 of file ModSelectDialog.cpp.
References GLWIconList::addItem(), GLWIconList::clear(), S3D::dialogExit(), S3D::getDataFile(), ModDirs::getDirs(), ModInfo::getMenuEntries(), iconList_, ModDirs::loadModDirs(), and ModInfo::parse().
| void ModSelectDialog::buttonDown | ( | unsigned int | id | ) | [virtual] |
Implements GLWButtonI.
Definition at line 140 of file ModSelectDialog.cpp.
References cancelId_, GLWidget::getId(), GLWIconListModItem::getModInfo(), ModInfo::getName(), GLWIconList::getSelected(), GLWWindowManager::hideWindow(), iconList_, GLWidget::id_, ModSubSelectDialog::instance(), SettingsSelectDialog::instance(), GLWWindowManager::instance(), okId_, selected(), ModSubSelectDialog::setModInfo(), GLWWindowManager::showWindow(), and LangStringUtil::strcmp().
Referenced by chosen().
| void ModSelectDialog::selected | ( | unsigned int | id, | |
| int | position | |||
| ) | [virtual] |
Implements GLWIconListI.
Definition at line 131 of file ModSelectDialog.cpp.
Referenced by buttonDown().
| void ModSelectDialog::chosen | ( | unsigned int | id, | |
| int | position | |||
| ) | [virtual] |
Implements GLWIconListI.
Definition at line 135 of file ModSelectDialog.cpp.
References buttonDown(), and okId_.
ModSelectDialog * ModSelectDialog::instance_ = 0 [static, protected] |
unsigned int ModSelectDialog::okId_ [protected] |
Definition at line 70 of file ModSelectDialog.h.
Referenced by buttonDown(), chosen(), and ModSelectDialog().
unsigned int ModSelectDialog::cancelId_ [protected] |
GLWIconList* ModSelectDialog::iconList_ [protected] |
Definition at line 71 of file ModSelectDialog.h.
Referenced by buttonDown(), display(), and ModSelectDialog().
1.5.3