GLWIconListSubModItem Class Reference

#include <ModSubSelectDialog.h>

Inheritance diagram for GLWIconListSubModItem:

GLWIconListItem

List of all members.

Public Member Functions

 GLWIconListSubModItem (ModInfo::MenuEntry &modInfoEntry)
virtual ~GLWIconListSubModItem ()
ModInfo::MenuEntrygetModInfoEntry ()
virtual void draw (float x, float y, float w)

Protected Attributes

ModInfo::MenuEntry modInfoEntry_
GLWIcon icon_
ToolTip tip_


Detailed Description

Definition at line 31 of file ModSubSelectDialog.h.


Constructor & Destructor Documentation

GLWIconListSubModItem::GLWIconListSubModItem ( ModInfo::MenuEntry modInfoEntry  ) 

Definition at line 34 of file ModSubSelectDialog.cpp.

References S3D::fileExists(), ModInfo::MenuEntry::icon, icon_, TextureStore::instance(), TextureStore::loadTexture(), modInfoEntry_, and GLWIcon::setTexture().

GLWIconListSubModItem::~GLWIconListSubModItem (  )  [virtual]

Definition at line 49 of file ModSubSelectDialog.cpp.


Member Function Documentation

ModInfo::MenuEntry& GLWIconListSubModItem::getModInfoEntry (  )  [inline]

Definition at line 37 of file ModSubSelectDialog.h.

References modInfoEntry_.

Referenced by ModSubSelectDialog::buttonDown().

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

Implements GLWIconListItem.

Definition at line 53 of file ModSubSelectDialog.cpp.

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


Member Data Documentation

ModInfo::MenuEntry GLWIconListSubModItem::modInfoEntry_ [protected]

Definition at line 43 of file ModSubSelectDialog.h.

Referenced by draw(), getModInfoEntry(), and GLWIconListSubModItem().

GLWIcon GLWIconListSubModItem::icon_ [protected]

Definition at line 44 of file ModSubSelectDialog.h.

Referenced by draw(), and GLWIconListSubModItem().

ToolTip GLWIconListSubModItem::tip_ [protected]

Definition at line 45 of file ModSubSelectDialog.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