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

MapItemTypeWidgetFactory< MapItemWidget > Class Template Reference

Adds selection logic to a BaseMapItemTypeWidgetFactory. Selected items are registered as being the active "brush" for editing the map. More...

#include <edselfnt.h>

Inheritance diagram for MapItemTypeWidgetFactory< MapItemWidget >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 MapItemTypeWidgetFactory (const ItemRepository< ItemType > &itemRepository)
void itemSelected (const SelectionWidget *widget, bool mouse)

Protected Types

typedef MapItemWidget::ItemType ItemType

Detailed Description

template<class MapItemWidget>
class MapItemTypeWidgetFactory< MapItemWidget >

Adds selection logic to a BaseMapItemTypeWidgetFactory. Selected items are registered as being the active "brush" for editing the map.

Definition at line 142 of file edselfnt.h.


Member Typedef Documentation

template<class MapItemWidget>
typedef MapItemWidget::ItemType MapItemTypeWidgetFactory< MapItemWidget >::ItemType [protected]
 

Reimplemented from BaseMapItemTypeWidgetFactory< MapItemWidget >.

Definition at line 144 of file edselfnt.h.


Constructor & Destructor Documentation

template<class MapItemWidget>
MapItemTypeWidgetFactory< MapItemWidget >::MapItemTypeWidgetFactory const ItemRepository< ItemType > &  itemRepository  )  [inline]
 

Definition at line 147 of file edselfnt.h.


Member Function Documentation

template<class MapItemWidget>
void MapItemTypeWidgetFactory< MapItemWidget >::itemSelected const SelectionWidget widget,
bool  mouse
[inline, virtual]
 

Implements SelectionItemFactory.

Reimplemented in CargoItemFactory, and ProductionItemFactory.

Definition at line 149 of file edselfnt.h.


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