GLWIconListModItem Class Reference

#include <ModSelectDialog.h>

Inheritance diagram for GLWIconListModItem:

GLWIconListItem

List of all members.

Public Member Functions

 GLWIconListModItem (ModInfo &modInfo)
virtual ~GLWIconListModItem ()
ModInfogetModInfo ()
virtual void draw (float x, float y, float w)

Protected Attributes

ModInfo modInfo_
GLWIcon icon_
ToolTip tip_


Detailed Description

Definition at line 31 of file ModSelectDialog.h.


Constructor & Destructor Documentation

GLWIconListModItem::GLWIconListModItem ( ModInfo modInfo  ) 

Definition at line 33 of file ModSelectDialog.cpp.

References S3D::fileExists(), ModInfo::getIcon(), icon_, TextureStore::instance(), TextureStore::loadTexture(), modInfo_, and GLWIcon::setTexture().

GLWIconListModItem::~GLWIconListModItem (  )  [virtual]

Definition at line 48 of file ModSelectDialog.cpp.


Member Function Documentation

ModInfo& GLWIconListModItem::getModInfo (  )  [inline]

Definition at line 37 of file ModSelectDialog.h.

References modInfo_.

Referenced by ModSelectDialog::buttonDown().

void GLWIconListModItem::draw ( float  x,
float  y,
float  w 
) [virtual]

Implements GLWIconListItem.

Definition at line 52 of file ModSelectDialog.cpp.

References GLWToolTip::addToolTip(), GLWIcon::draw(), GLFont2d::drawWidth(), GLWFont::getGameFont(), GLWTranslate::getPosX(), GLWTranslate::getPosY(), ModInfo::getShortDescription(), icon_, GLWFont::instance(), GLWToolTip::instance(), modInfo_, GLWidget::setX(), GLWidget::setY(), tip_, and GLWFont::widgetFontColor.


Member Data Documentation

ModInfo GLWIconListModItem::modInfo_ [protected]

Definition at line 43 of file ModSelectDialog.h.

Referenced by draw(), getModInfo(), and GLWIconListModItem().

GLWIcon GLWIconListModItem::icon_ [protected]

Definition at line 44 of file ModSelectDialog.h.

Referenced by draw(), and GLWIconListModItem().

ToolTip GLWIconListModItem::tip_ [protected]

Definition at line 45 of file ModSelectDialog.h.

Referenced by draw().


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