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

ListBoxImageItem< SelectionType > Class Template Reference

Inheritance diagram for ListBoxImageItem< SelectionType >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ListBoxImageItem (PG_ListBox *parent, PG_Point pos, SelectionType s)
bool eventMouseButtonUp (const SDL_MouseButtonEvent *button)
 Overridable Eventhandler for a SDL_MouseButtonEvent message.

Public Attributes

SigC::Signal1< void, SelectionType > sigSet

template<typename SelectionType>
class ListBoxImageItem< SelectionType >


Constructor & Destructor Documentation

template<typename SelectionType>
ListBoxImageItem< SelectionType >::ListBoxImageItem PG_ListBox parent,
PG_Point  pos,
SelectionType  s
[inline]
 

Definition at line 85 of file alliancesetup.cpp.

References diplomaticStateIconSize, diplomaticStateIconSpace, getDiplomaticStateImage(), IconRepository::getIcon(), PG_Label::PG_Label(), and PG_Rect::PG_Rect().


Member Function Documentation

template<typename SelectionType>
bool ListBoxImageItem< SelectionType >::eventMouseButtonUp const SDL_MouseButtonEvent *  button  )  [inline, virtual]
 

Overridable Eventhandler for a SDL_MouseButtonEvent message.

This handler is called when a mouse button is released. The default implementation returns 'false' which indicates that this message is not processed by this object.

Parameters:
button SDL_MouseButtonEvent message
Returns:
Notifies the message pump if this message is processed by this object or it should be routed to the next message receiver.

Reimplemented from PG_ListBoxBaseItem.

Definition at line 93 of file alliancesetup.cpp.

References PG_ListBoxBaseItem::GetParent(), PG_Widget::IsVisible(), PG_Widget::QuitModal(), PG_ListBox::SelectItem(), and ListBoxImageItem< SelectionType >::sigSet.


Member Data Documentation

template<typename SelectionType>
SigC::Signal1<void,SelectionType> ListBoxImageItem< SelectionType >::sigSet
 

Definition at line 91 of file alliancesetup.cpp.

Referenced by ListBoxImageItem< SelectionType >::eventMouseButtonUp(), and DiplomaticModeChooser< SelectionType >::selectMode().


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