#include <edselfnt.h>
Inheritance diagram for MapItemTypeWidget< MapItemType >:

Public Types | |
| typedef MapItemType | ItemType |
Public Member Functions | |
| MapItemTypeWidget (PG_Widget *parent, const PG_Point &pos, const MapItemType *mapItemType) | |
| ASCString | getName () const |
| const ItemType * | getItem () const |
| void | display (SDL_Surface *surface, const PG_Rect &src, const PG_Rect &dst) |
Definition at line 56 of file edselfnt.h.
| typedef MapItemType MapItemTypeWidget< MapItemType >::ItemType |
Definition at line 59 of file edselfnt.h.
| MapItemTypeWidget< MapItemType >::MapItemTypeWidget | ( | PG_Widget * | parent, | |
| const PG_Point & | pos, | |||
| const MapItemType * | mapItemType | |||
| ) | [inline] |
Definition at line 61 of file edselfnt.h.
| ASCString MapItemTypeWidget< MapItemType >::getName | ( | ) | const [inline, virtual] |
Implements SelectionWidget.
Definition at line 66 of file edselfnt.h.
References MapItemType::getName().
| const ItemType* MapItemTypeWidget< MapItemType >::getItem | ( | ) | const [inline] |
Definition at line 71 of file edselfnt.h.
Referenced by ProductionItemFactory::itemMarked(), and CargoItemFactory::itemSelected().
| void MapItemTypeWidget< MapItemType >::display | ( | SDL_Surface * | surface, | |
| const PG_Rect & | src, | |||
| const PG_Rect & | dst | |||
| ) | [inline, virtual] |
1.5.1