#include <fileselector.h>
Inheritance diagram for SavegameWidget:

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) |
Definition at line 46 of file fileselector.h.
| 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.
| 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.
1.5.1