#include <SaveSelectDialog.h>
Public Member Functions | |
| GLWIconListSaveItem (const char *file, const char *time) | |
| virtual | ~GLWIconListSaveItem () |
| const char * | getFile () |
| virtual void | draw (float x, float y, float w) |
Protected Attributes | |
| GLWIcon | icon_ |
| ToolTip | tip_ |
| std::string | file_ |
| std::string | time_ |
Definition at line 30 of file SaveSelectDialog.h.
| GLWIconListSaveItem::GLWIconListSaveItem | ( | const char * | file, | |
| const char * | time | |||
| ) |
Definition at line 33 of file SaveSelectDialog.cpp.
References S3D::getDataFile(), icon_, TextureStore::instance(), TextureStore::loadTexture(), and GLWIcon::setTexture().
| GLWIconListSaveItem::~GLWIconListSaveItem | ( | ) | [virtual] |
Definition at line 46 of file SaveSelectDialog.cpp.
| const char* GLWIconListSaveItem::getFile | ( | ) | [inline] |
Definition at line 36 of file SaveSelectDialog.h.
References file_.
Referenced by SaveSelectDialog::buttonDown().
| void GLWIconListSaveItem::draw | ( | float | x, | |
| float | y, | |||
| float | w | |||
| ) | [virtual] |
Implements GLWIconListItem.
Definition at line 50 of file SaveSelectDialog.cpp.
References GLWToolTip::addToolTip(), GLWIcon::draw(), GLFont2d::drawWidth(), file_, GLWFont::getGameFont(), GLWTranslate::getPosX(), GLWTranslate::getPosY(), icon_, GLWFont::instance(), GLWToolTip::instance(), GLWidget::setX(), GLWidget::setY(), time_, tip_, and GLWFont::widgetFontColor.
GLWIcon GLWIconListSaveItem::icon_ [protected] |
ToolTip GLWIconListSaveItem::tip_ [protected] |
std::string GLWIconListSaveItem::file_ [protected] |
std::string GLWIconListSaveItem::time_ [protected] |
1.5.3