SavegameWidget Class Reference

#include <fileselector.h>

Inheritance diagram for SavegameWidget:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 SavegameWidget (PG_Widget *parent, const PG_Point &pos, int width, const FileInfo *fi)
ASCString getName () const

Protected Member Functions

void display (SDL_Surface *surface, const PG_Rect &src, const PG_Rect &dst)

Detailed Description

Definition at line 46 of file fileselector.h.


Constructor & Destructor Documentation

SavegameWidget::SavegameWidget ( PG_Widget *  parent,
const PG_Point &  pos,
int  width,
const FileInfo fi 
)

Definition at line 77 of file fileselector.cpp.

References IconRepository::getIcon(), FileInfo::location, FileInfo::modificationTime, and FileInfo::name.


Member Function Documentation

ASCString SavegameWidget::getName (  )  const [virtual]

Implements SelectionWidget.

Definition at line 118 of file fileselector.cpp.

References FileInfo::name.

Referenced by SavegameSelectionItemFactory::itemMarked(), and SavegameSelectionItemFactory::itemSelected().

void SavegameWidget::display ( SDL_Surface *  surface,
const PG_Rect &  src,
const PG_Rect &  dst 
) [protected, virtual]

Implements SelectionWidget.

Definition at line 127 of file fileselector.cpp.

References Surface::getBaseSurface(), GameFileInformation::image, tsavegameloaders::loadMapimageFromFile(), GameFileInformation::maptitle, FileInfo::name, GameFileInformation::playername, ASCString::toString(), and GameFileInformation::turn.


The documentation for this class was generated from the following files:
Generated on Mon May 21 01:47:25 2012 for Advanced Strategic Command by  doxygen 1.5.1