#include <SettingsSubSelectDialog.h>

Public Member Functions | |
| SettingsSubSelectDialogListItem (const char *icon, const char *name, const char *description, bool selected) | |
| virtual | ~SettingsSubSelectDialogListItem () |
| const char * | getName () |
| bool | getSelected () |
| void | setSelected (bool selected) |
| virtual void | draw (float x, float y, float w) |
Protected Attributes | |
| std::string | name_ |
| GLWIcon | icon_ |
| GLWCheckBox | selected_ |
| ToolTip | tip_ |
Definition at line 34 of file SettingsSubSelectDialog.h.
| SettingsSubSelectDialogListItem::SettingsSubSelectDialogListItem | ( | const char * | icon, | |
| const char * | name, | |||
| const char * | description, | |||
| bool | selected | |||
| ) |
Definition at line 35 of file SettingsSubSelectDialog.cpp.
References S3D::fileExists(), icon_, TextureStore::instance(), TextureStore::loadTexture(), and GLWIcon::setTexture().
| SettingsSubSelectDialogListItem::~SettingsSubSelectDialogListItem | ( | ) | [virtual] |
Definition at line 50 of file SettingsSubSelectDialog.cpp.
| const char* SettingsSubSelectDialogListItem::getName | ( | ) | [inline] |
Definition at line 43 of file SettingsSubSelectDialog.h.
References name_.
Referenced by SettingsSubSelectDialog::buttonDown().
| bool SettingsSubSelectDialogListItem::getSelected | ( | ) | [inline] |
Definition at line 44 of file SettingsSubSelectDialog.h.
References GLWCheckBox::getState(), and selected_.
Referenced by SettingsSubSelectDialog::buttonDown(), and SettingsSubSelectDialog::selected().
| void SettingsSubSelectDialogListItem::setSelected | ( | bool | selected | ) | [inline] |
Definition at line 45 of file SettingsSubSelectDialog.h.
References selected_, and GLWCheckBox::setState().
Referenced by SettingsSubSelectDialog::buttonDown(), and SettingsSubSelectDialog::selected().
| void SettingsSubSelectDialogListItem::draw | ( | float | x, | |
| float | y, | |||
| float | w | |||
| ) | [virtual] |
Implements GLWIconListItem.
Definition at line 54 of file SettingsSubSelectDialog.cpp.
References GLWToolTip::addToolTip(), GLWCheckBox::draw(), GLWIcon::draw(), GLFont2d::drawWidth(), GLWFont::getGameFont(), GLWTranslate::getPosX(), GLWTranslate::getPosY(), icon_, GLWFont::instance(), GLWToolTip::instance(), name_, selected_, GLWidget::setX(), GLWidget::setY(), tip_, and GLWFont::widgetFontColor.
std::string SettingsSubSelectDialogListItem::name_ [protected] |
GLWIcon SettingsSubSelectDialogListItem::icon_ [protected] |
Definition at line 52 of file SettingsSubSelectDialog.h.
Referenced by draw(), and SettingsSubSelectDialogListItem().
Definition at line 53 of file SettingsSubSelectDialog.h.
Referenced by draw(), getSelected(), and setSelected().
ToolTip SettingsSubSelectDialogListItem::tip_ [protected] |
1.5.3