Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

MapItemTypeWidget< MapItemType > Class Template Reference

A MapItemTypeWidget show any kind of MapItemType in a SelectionWidget It is typically generated by a BaseMapItemTypeWidgetFactory. More...

#include <edselfnt.h>

Inheritance diagram for MapItemTypeWidget< MapItemType >:

Inheritance graph
[legend]
List of all members.

Public Types

typedef MapItemType ItemType

Public Member Functions

 MapItemTypeWidget (PG_Widget *parent, const PG_Point &pos, const MapItemType *mapItemType)
ASCString getName () const
const ItemTypegetItem () const
void display (SDL_Surface *surface, const PG_Rect &src, const PG_Rect &dst)

Detailed Description

template<class MapItemType>
class MapItemTypeWidget< MapItemType >

A MapItemTypeWidget show any kind of MapItemType in a SelectionWidget It is typically generated by a BaseMapItemTypeWidgetFactory.

Definition at line 56 of file edselfnt.h.


Member Typedef Documentation

template<class MapItemType>
typedef MapItemType MapItemTypeWidget< MapItemType >::ItemType
 

Definition at line 59 of file edselfnt.h.


Constructor & Destructor Documentation

template<class MapItemType>
MapItemTypeWidget< MapItemType >::MapItemTypeWidget PG_Widget parent,
const PG_Point pos,
const MapItemType mapItemType
[inline]
 

Definition at line 61 of file edselfnt.h.


Member Function Documentation

template<class MapItemType>
void MapItemTypeWidget< MapItemType >::display SDL_Surface *  surface,
const PG_Rect src,
const PG_Rect dst
[inline, virtual]
 

Implements SelectionWidget.

Definition at line 76 of file edselfnt.h.

template<class MapItemType>
const ItemType* MapItemTypeWidget< MapItemType >::getItem  )  const [inline]
 

Definition at line 71 of file edselfnt.h.

template<class MapItemType>
ASCString MapItemTypeWidget< MapItemType >::getName  )  const [inline, virtual]
 

Implements SelectionWidget.

Definition at line 66 of file edselfnt.h.

References MapItemType::getName().


The documentation for this class was generated from the following file:
Generated on Tue Jun 24 02:18:11 2008 for Advanced Strategic Command by  doxygen 1.4.2