SettingsSubSelectDialogListItem Class Reference

#include <SettingsSubSelectDialog.h>

Inheritance diagram for SettingsSubSelectDialogListItem:

GLWIconListItem

List of all members.

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_


Detailed Description

Definition at line 34 of file SettingsSubSelectDialog.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

std::string SettingsSubSelectDialogListItem::name_ [protected]

Definition at line 51 of file SettingsSubSelectDialog.h.

Referenced by draw(), and getName().

GLWIcon SettingsSubSelectDialogListItem::icon_ [protected]

Definition at line 52 of file SettingsSubSelectDialog.h.

Referenced by draw(), and SettingsSubSelectDialogListItem().

GLWCheckBox SettingsSubSelectDialogListItem::selected_ [protected]

Definition at line 53 of file SettingsSubSelectDialog.h.

Referenced by draw(), getSelected(), and setSelected().

ToolTip SettingsSubSelectDialogListItem::tip_ [protected]

Definition at line 54 of file SettingsSubSelectDialog.h.

Referenced by draw().


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