SaveSelectDialog Class Reference

#include <SaveSelectDialog.h>

Inheritance diagram for SaveSelectDialog:

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

Protected Attributes

unsigned int cancelId_

Static Protected Attributes

static SaveSelectDialoginstance_ = 0

Private Member Functions

 SaveSelectDialog ()
virtual ~SaveSelectDialog ()

Detailed Description

Definition at line 48 of file SaveSelectDialog.h.

Constructor & Destructor Documentation

SaveSelectDialog::SaveSelectDialog (  )  [private]

Definition at line 83 of file SaveSelectDialog.cpp.

References GLWPanel::addWidget(), GLWButton::ButtonFlagCancel, GLWButton::ButtonFlagCenterX, GLWButton::ButtonFlagOk, cancelId_, GLWidget::getId(), iconList_, LANG_RESOURCE, ok_, and GLWIconList::setHandler().

SaveSelectDialog::~SaveSelectDialog (  )  [private, virtual]

Definition at line 96 of file SaveSelectDialog.cpp.

Member Function Documentation

SaveSelectDialog * SaveSelectDialog::instance (  )  [static]

Definition at line 74 of file SaveSelectDialog.cpp.

References instance_.

Referenced by StartDialog::mouseDown(), and ClientWindowSetup::setupStartWindows().

void SaveSelectDialog::display (  )  [virtual]

Reimplemented from GLWPanel.

Definition at line 101 of file SaveSelectDialog.cpp.

References GLWIconList::addItem(), GLWIconList::clear(), S3D::fileModTime(), FileList::getFiles(), S3D::getSaveFile(), FileList::getStatus(), iconList_, ok_, and GLWButton::setEnabled().

void SaveSelectDialog::buttonDown ( unsigned int  id  )  [virtual]

Implements GLWButtonI.

Definition at line 143 of file SaveSelectDialog.cpp.

References cancelId_, GLWIconListSaveItem::getFile(), GLWidget::getId(), S3D::getSaveFile(), GLWIconList::getSelected(), GLWWindowManager::hideWindow(), iconList_, GLWidget::id_, ClientParams::instance(), GLWWindowManager::instance(), ok_, ClientParams::reset(), selected(), ClientParams::setSaveFile(), and ClientMain::startClient().

Referenced by chosen().

void SaveSelectDialog::selected ( unsigned int  id,
int  position 
) [virtual]

Implements GLWIconListI.

Definition at line 133 of file SaveSelectDialog.cpp.

References ok_, and GLWButton::setEnabled().

Referenced by buttonDown().

void SaveSelectDialog::chosen ( unsigned int  id,
int  position 
) [virtual]

Implements GLWIconListI.

Definition at line 138 of file SaveSelectDialog.cpp.

References buttonDown(), GLWidget::getId(), and ok_.

Member Data Documentation

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

Definition at line 67 of file SaveSelectDialog.h.

Referenced by instance().

GLWButton* SaveSelectDialog::ok_ [protected]

Definition at line 69 of file SaveSelectDialog.h.

Referenced by buttonDown(), chosen(), display(), SaveSelectDialog(), and selected().

unsigned int SaveSelectDialog::cancelId_ [protected]

Definition at line 70 of file SaveSelectDialog.h.

Referenced by buttonDown(), and SaveSelectDialog().

GLWIconList* SaveSelectDialog::iconList_ [protected]

Definition at line 71 of file SaveSelectDialog.h.

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

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