Advanced Strategic Command
Public Member Functions | Public Attributes | Protected Attributes | List of all members
MessageListItemFactory Class Reference
Inheritance diagram for MessageListItemFactory:
Inheritance graph
[legend]

Public Member Functions

 MessageListItemFactory (const MessagePntrContainer &messages, GameMap *g)
 
void restart ()
 
SelectionWidgetspawnNextItem (PG_Widget *parent, const PG_Point &pos)
 
void itemMarked (const SelectionWidget *widget)
 
void itemSelected (const SelectionWidget *widget, bool mouse)
 
- Public Member Functions inherited from SelectionItemFactory
virtual SelectionWidgetgetDefaultItem ()
 
virtual ~SelectionItemFactory ()
 

Public Attributes

sigc::signal< void, Message * > messageSelected
 

Protected Attributes

const MessagePntrContainermessageContainer
 
MessagePntrContainer::const_iterator it
 
GameMapgamemap
 

Detailed Description

Definition at line 421 of file messagedlg.cpp.

Constructor & Destructor Documentation

MessageListItemFactory::MessageListItemFactory ( const MessagePntrContainer messages,
GameMap g 
)

Definition at line 441 of file messagedlg.cpp.

References restart().

Member Function Documentation

void MessageListItemFactory::itemMarked ( const SelectionWidget widget)
virtual

Reimplemented from SelectionItemFactory.

Definition at line 461 of file messagedlg.cpp.

References MessageLineWidget::getMessage(), and messageSelected.

void MessageListItemFactory::itemSelected ( const SelectionWidget widget,
bool  mouse 
)
virtual

Implements SelectionItemFactory.

Definition at line 471 of file messagedlg.cpp.

References MessageLineWidget::getMessage(), and messageSelected.

void MessageListItemFactory::restart ( )
virtual

Implements SelectionItemFactory.

Definition at line 447 of file messagedlg.cpp.

References it, and messageContainer.

Referenced by MessageListItemFactory().

SelectionWidget * MessageListItemFactory::spawnNextItem ( PG_Widget *  parent,
const PG_Point &  pos 
)
virtual

Implements SelectionItemFactory.

Definition at line 452 of file messagedlg.cpp.

References gamemap, it, and messageContainer.

Member Data Documentation

GameMap* MessageListItemFactory::gamemap
protected

Definition at line 425 of file messagedlg.cpp.

Referenced by spawnNextItem().

MessagePntrContainer::const_iterator MessageListItemFactory::it
protected

Definition at line 424 of file messagedlg.cpp.

Referenced by restart(), and spawnNextItem().

const MessagePntrContainer& MessageListItemFactory::messageContainer
protected

Definition at line 423 of file messagedlg.cpp.

Referenced by restart(), and spawnNextItem().

sigc::signal<void, Message* > MessageListItemFactory::messageSelected

The documentation for this class was generated from the following file: