GLWOptionEntry Class Reference

#include <GLWOptionEntry.h>

List of all members.

Public Member Functions

 GLWOptionEntry (GLWidget *control, OptionEntry *entry)
virtual ~GLWOptionEntry ()
OptionEntrygetEntry ()
GLWidgetgetControl ()

Static Public Member Functions

static void createEntry (std::list< GLWOptionEntry > &controls, GLWPanel *parent, OptionEntry &entry)
static void updateControls (std::list< GLWOptionEntry > &controls)
static void updateEntries (std::list< GLWOptionEntry > &controls)

Protected Attributes

OptionEntryentry_
GLWidgetcontrol_


Detailed Description

Definition at line 28 of file GLWOptionEntry.h.


Constructor & Destructor Documentation

GLWOptionEntry::GLWOptionEntry ( GLWidget control,
OptionEntry entry 
)

Definition at line 31 of file GLWOptionEntry.cpp.

Referenced by createEntry().

GLWOptionEntry::~GLWOptionEntry (  )  [virtual]

Definition at line 36 of file GLWOptionEntry.cpp.


Member Function Documentation

void GLWOptionEntry::createEntry ( std::list< GLWOptionEntry > &  controls,
GLWPanel parent,
OptionEntry entry 
) [static]

Definition at line 40 of file GLWOptionEntry.cpp.

References GLWPanel::addWidget(), GLWPanel::AlignRight, OptionEntryEnum::EnumEntry::description, S3D::dialogExit(), S3D::formatStringBuffer(), OptionEntry::getDescription(), ModDirs::getDirs(), OptionEntry::getEntryType(), OptionEntryStringEnum::getEnums(), OptionEntryEnum::getEnums(), OptionEntryBoundedInt::getMaxValue(), OptionEntryBoundedInt::getMinValue(), ModInfo::getName(), OptionEntry::getName(), OptionEntryBoundedInt::getStepValue(), GLWOptionEntry(), LANG_RESOURCE, LANG_STRING, ModDirs::loadModDirs(), OptionEntry::OptionEntryBoolType, OptionEntry::OptionEntryBoundedIntType, OptionEntry::OptionEntryEnumType, OptionEntry::OptionEntryStringEnumType, OptionEntry::OptionEntryStringType, GLWidget::setToolTip(), GLWPanel::SpaceLeft, GLWPanel::SpaceRight, GLWPanel::SpaceTop, LangStringUtil::strcmp(), ToolTip::ToolTipHelp, and OptionEntryStringEnum::EnumEntry::value.

Referenced by SettingsSelectDialog::SettingsSelectDialog(), and SettingsSubSelectDialog::SettingsSubSelectDialog().

void GLWOptionEntry::updateControls ( std::list< GLWOptionEntry > &  controls  )  [static]

Definition at line 139 of file GLWOptionEntry.cpp.

References getControl(), getEntry(), OptionEntry::getEntryType(), OptionEntry::getName(), OptionEntryBool::getValue(), OptionEntry::getValueAsString(), LANG_RESOURCE, LANG_STRING, OptionEntry::OptionEntryBoolType, OptionEntry::OptionEntryBoundedIntType, OptionEntry::OptionEntryEnumType, OptionEntry::OptionEntryStringEnumType, OptionEntry::OptionEntryStringType, GLWDropDownText::setCurrentText(), GLWCheckBox::setState(), GLWTextBox::setText(), and LangStringUtil::strcmp().

Referenced by SettingsSubSelectDialog::display(), and SettingsSelectDialog::display().

void GLWOptionEntry::updateEntries ( std::list< GLWOptionEntry > &  controls  )  [static]

Definition at line 189 of file GLWOptionEntry.cpp.

References getControl(), GLWDropDownText::getCurrentDataText(), getEntry(), OptionEntry::getEntryType(), OptionEntry::getName(), GLWCheckBox::getState(), GLWTextBox::getText(), OptionEntry::OptionEntryBoolType, OptionEntry::OptionEntryBoundedIntType, OptionEntry::OptionEntryEnumType, OptionEntry::OptionEntryStringEnumType, OptionEntry::OptionEntryStringType, OptionEntryBool::setValue(), OptionEntry::setValueFromString(), and LangStringUtil::strcmp().

Referenced by SettingsSubSelectDialog::buttonDown(), and SettingsSelectDialog::buttonDown().

OptionEntry* GLWOptionEntry::getEntry (  )  [inline]

Definition at line 41 of file GLWOptionEntry.h.

References entry_.

Referenced by updateControls(), and updateEntries().

GLWidget* GLWOptionEntry::getControl (  )  [inline]

Definition at line 42 of file GLWOptionEntry.h.

References control_.

Referenced by updateControls(), and updateEntries().


Member Data Documentation

OptionEntry* GLWOptionEntry::entry_ [protected]

Definition at line 45 of file GLWOptionEntry.h.

Referenced by getEntry().

GLWidget* GLWOptionEntry::control_ [protected]

Definition at line 46 of file GLWOptionEntry.h.

Referenced by getControl().


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