GLWIconListSaveItem Class Reference

#include <SaveSelectDialog.h>

Inheritance diagram for GLWIconListSaveItem:

GLWIconListItem

List of all members.

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_


Detailed Description

Definition at line 30 of file SaveSelectDialog.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

GLWIcon GLWIconListSaveItem::icon_ [protected]

Definition at line 42 of file SaveSelectDialog.h.

Referenced by draw(), and GLWIconListSaveItem().

ToolTip GLWIconListSaveItem::tip_ [protected]

Definition at line 43 of file SaveSelectDialog.h.

Referenced by draw().

std::string GLWIconListSaveItem::file_ [protected]

Definition at line 44 of file SaveSelectDialog.h.

Referenced by draw(), and getFile().

std::string GLWIconListSaveItem::time_ [protected]

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