ModSelectDialog Class Reference

#include <ModSelectDialog.h>

Inheritance diagram for ModSelectDialog:

GLWWindow GLWButtonI GLWIconListI GLWPanel GLWidget MetaClass

List of all members.

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 ModSelectDialoginstance ()

Protected Attributes

unsigned int okId_
unsigned int cancelId_

Static Protected Attributes

static ModSelectDialoginstance_ = 0

Private Member Functions

 ModSelectDialog ()
virtual ~ModSelectDialog ()

Detailed Description

Definition at line 49 of file ModSelectDialog.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

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_.

Member Data Documentation

ModSelectDialog * ModSelectDialog::instance_ = 0 [static, protected]

Definition at line 68 of file ModSelectDialog.h.

Referenced by instance().

unsigned int ModSelectDialog::okId_ [protected]

Definition at line 70 of file ModSelectDialog.h.

Referenced by buttonDown(), chosen(), and ModSelectDialog().

unsigned int ModSelectDialog::cancelId_ [protected]

Definition at line 70 of file ModSelectDialog.h.

Referenced by buttonDown(), and ModSelectDialog().

GLWIconList* ModSelectDialog::iconList_ [protected]

Definition at line 71 of file ModSelectDialog.h.

Referenced by buttonDown(), display(), and ModSelectDialog().

The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:04 2009 for Scorched3D by  doxygen 1.5.3