#include <edselfnt.h>
Inheritance diagram for BaseMapItemTypeWidgetFactory< MapItemWidget >:

Public Member Functions | |
| BaseMapItemTypeWidgetFactory (const ItemRepository< ItemType > &itemRepository) | |
| void | restart () |
| SelectionWidget * | spawnNextItem (PG_Widget *parent, const PG_Point &pos) |
Protected Types | |
| typedef MapItemWidget::ItemType | ItemType |
| typedef vector< ItemType * > | Items |
Protected Member Functions | |
| virtual bool | isFiltered (const ItemType &item) |
| virtual void | registerItem (MapItemWidget *item) |
Protected Attributes | |
| Items::iterator | it |
It is will belong to a SelectionWidget , which will control the MapItemTypeWidget generation.
This class does nothing if a widget is selected. This behaviour must be added by derived classes.
Definition at line 91 of file edselfnt.h.
|
|||||
|
Definition at line 94 of file edselfnt.h. |
|
|||||
|
Reimplemented in MapItemTypeWidgetFactory< MapItemWidget >, and MapItemTypeWidgetFactory< MapItemTypeWidget< Vehicletype > >. Definition at line 93 of file edselfnt.h. |
|
||||||||||
|
Definition at line 110 of file edselfnt.h. |
|
||||||||||
|
Reimplemented in CargoItemFactory, and ProductionItemFactory. Definition at line 99 of file edselfnt.h. Referenced by BaseMapItemTypeWidgetFactory< MapItemTypeWidget< Vehicletype > >::spawnNextItem(). |
|
||||||||||
|
Reimplemented in MapItemTypeWidgetFactory_IDSelection< MapItemWidget >. Definition at line 103 of file edselfnt.h. Referenced by BaseMapItemTypeWidgetFactory< MapItemTypeWidget< Vehicletype > >::spawnNextItem(). |
|
|||||||||
|
Implements SelectionItemFactory. Definition at line 120 of file edselfnt.h. Referenced by BaseMapItemTypeWidgetFactory< MapItemTypeWidget< Vehicletype > >::BaseMapItemTypeWidgetFactory(). |
|
||||||||||||||||
|
Implements SelectionItemFactory. Definition at line 125 of file edselfnt.h. |
|
|||||
|
Definition at line 95 of file edselfnt.h. Referenced by BaseMapItemTypeWidgetFactory< MapItemTypeWidget< Vehicletype > >::restart(), and BaseMapItemTypeWidgetFactory< MapItemTypeWidget< Vehicletype > >::spawnNextItem(). |
1.4.2