#include <ModSelectDialog.h>
Public Member Functions | |
| GLWIconListModItem (ModInfo &modInfo) | |
| virtual | ~GLWIconListModItem () |
| ModInfo & | getModInfo () |
| virtual void | draw (float x, float y, float w) |
Protected Attributes | |
| ModInfo | modInfo_ |
| GLWIcon | icon_ |
| ToolTip | tip_ |
Definition at line 31 of file ModSelectDialog.h.
| 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.
| 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.
ModInfo GLWIconListModItem::modInfo_ [protected] |
Definition at line 43 of file ModSelectDialog.h.
Referenced by draw(), getModInfo(), and GLWIconListModItem().
GLWIcon GLWIconListModItem::icon_ [protected] |
ToolTip GLWIconListModItem::tip_ [protected] |
1.5.3